posted by 구름너머 2010. 3. 19. 16:22
find ./ -mtime -7 -name \* -exec grep -l 7003 {} \;
find ./ -name \* -exec ls -ltr {} \;
find ./ -name \* -exec grep -l 7003 {} \;
find ./ -name \* -exec grep -ns 7003 {} \;
find /home -name ping -print
find /home -name test* -print
find /home -name *.c -print
find /home -name core -size +2048 -print
find /home -name core -exec ls -l {} \;
find /home -name core -exec rm -i {} \;
find /home -user unix01 -print
find /home -group unix -print
find /home -perm 700 -print
find /home \ ( -perm 400 -o -perm 200 ) -print
find /home -type d -print
find /home -type c -print
find /home -atime +30 -print(30일 이전에 엑세스된)
find /home -mtime -7 -print(7일 이내에 수정된)
find /home -size +1024 -print
find /home -name *.bak -exec rm -rf {} \ ;
find /home -name \*.c -atime +30 -exec ls -l {} \ ;

'UNIX' 카테고리의 다른 글

FTP로 파일수집하기  (0) 2010.04.20
find 잘 쓰기  (0) 2010.03.19
바이너리 파일의 일부내용 보기  (0) 2009.12.23
tar압축  (0) 2009.11.29
vi 에디터 관련 설정  (0) 2009.11.27