find 명령어
- 파일 이름에 "test"가 들어간 파일 찾기 find / -name "test" -print - 특정 사용자(test) 소유의 파일 찾기 find / -user test -print | more - 최근 하루 동안 변경된 파일 찾기 find / -ctime -1 -a -type f | xargs ls -l | more\ b : 블록 특수 파일(block device) c : 캐릭터 특수 파일 (character deice) d : 디렉토리(directory) f : 일반파일(file) l : 심볼릭 링크(link) p : 파이프 (pipe) s : 소켓 (socket) - 오래된 파일(30일 이상 수정되지 않은 파일) 찾기 find / -mtime +30 print | more ※mtime : 파일내..
Linux(CentOS)/* command
2016. 1. 1. 00:00