명령어
FIND
현재 디렉토리에 있는 txt 파일 찾기
find . -name 파일명.txt
find . -iname 파일명.txt // case insensitive디렉토리 찾기
find / -type d -name 디렉토리명모든 java 파일 찾기
find . -type f -name "*.java"777 권한 파일 찾기
find . -type f -perm 0777 -print
find / -type f ! -perm 777 // 777가 아닌 경우 출력시실행가능 파일 찾기
find / -perm /a=x권한 777 -> 755 변경
find / -type d -perm 777 -print -exec chmod 755 {} \;파일 찾아 삭제
find . -type f -name "파일명.txt" -exec rm -f {} \;50 일 안에 수정된 파일 찾기
50일 안에 access 된 파일
5분 안에
Last updated