본문 바로가기
OS/Unix/Linux

리눅스 명령어 - find

by Lohen 2016. 2. 4.
Step By Step

 

#find 디렉토리 옵션 조건 실행 

 

1. 이름으로 찾기

#find / -name sendmail

#find /usr/local -name *.jpg -o -name *.gif 

 

2. 파일사이즈로 찾기

#find /usr/local -size +50k

 

3. 찾아서 실행하셈.

#find /usr/local -size +50k -exec rm -f {} \;

 

 

 

반응형