command 리눅스 명령어 : find
리눅스 명령어 : find # 파일 이름으로 찾기 find ./ -name filename : 파일 이름으로 찾기 # access time 으로 파일 찾기 find ./ -atime +5 // access time이 5일 이전인 파일 찾기. 즉, access한지 5일이 넘은 파일들 find ./ -atime -5 // access time이 5일 이내인 파일 찾기. 즉, access한지 5일이 넘지않은 파일들 # 수정한 시간으로 파일 찾기 find ./ -mtime +5 // 5일 이전에 수정된 파일 찾기. 즉, 수정된지 5일이 넘은 파일들 find ./ -mtime -5 // 5일 이내에 수정된 파일 찾기. 즉, 수정된지 5일이 넘지않은 파일들 # 퍼미션으로 찾기 find ./ -perm 777 // 퍼미션이 777인 파일 찾기 find ./ ( -perm 644 -o -perm 200 ) -print # 파일 타입이 으로 파일 찾기 find ./ -type f // 파일 타입이 파일인 파일만 찾기(주의, 옵션에 "-"을 붙이지 않는다) find /dev -type c -print // 파일 타입이 c인 파일들 찾기 [옵션] f : 파일 d : 디