Flower in my ops/Linux

which, whereis, locate

꽃선생 2015. 4. 30. 10:45

which : 특정명령어 위치

 

whereis : 명령어의 실행파일위치, 소스위치, man 페이지파일의 위치

 

locate : 특정패턴으로 파일 찾기

 

-e <dir1,dir2,...> : 검색에서 배제 할 디렉토리를 지정
-n <num> : 결과물의 개수를 지정된 숫자로 제한