본문 바로가기

OS/Linux

[명령어] find - 파일 찾기

find /usr/ -name php -type f

/usr/ 경로에서 php 라는 이름의 파일을 찾아라.


find ./www -name *.php | xargs egrep "attend("

현재 www경로에서 .php 확장자 파일중에 "attend(" 문자열을 포함하는 파일을 찾아라.