find (1) 썸네일형 리스트형 [Linux] 검색 명령어 검색 명령어find 명령find 명령은 파일 또는 디렉토리 위치를 검색한다.find directory [-name name] [-type type] [-user login] [-date date] 옵션설명-perm permissions권한으로 파일 검색-size size크기별로 파일 검색 find 명령의 -exec 옵션find 명령의 -exec 옵션을 사용하여 각 결과 라인에서 명령을 실행할 수 있다.$ find /tmp -name *.txt -exec rm -f {} \;위의 명령은 /tmp 디렉토리에 있는 모든 *.txt 파일을 검색하고 삭제한다.find 명령이 log1.txt, log2.txt 및 log3.txt라는 세 개의 파일을 찾은 경우 find 명령은 문자열 rm -f {} \;에서 중괄호.. 이전 1 다음