1. 파일명 검색

$find [/path/to/root] -name '*.py' [-ls] [-type d]

*path를 쓰지 않을 경우 현재 디렉토리에서 검색

*-ls를 붙일 경우 ls 형식으로 출력됨

*-type d 는 디렉토리를 검색할때 사용


[출처]http://mwultong.blogspot.com/2006/10/find-linux-file-find-command.html

+ Recent posts