[Linux] 리눅스 find 명령어 사용법 (파일 검색 및 파일 내용 검색)


[Linux] 리눅스 find 명령어 사용법 (파일 검색 및 파일 내용 검색)

linux find linux find 명령어 linux find 옵션 find 명령어 리눅스에서 파일을 검색할 때 사용하는 명령어이다. 사용법은 find [옵션] [경로] [파일명 패턴] //현재 위치에서 *boost* 패턴에 해당하는 모든 파일 검색 find . -name "*boost*" find 명령어 응용 find 명령어는 여러 가지 응용이 가능하다. 종종 사용하는 예제만 기록한다. find type 명령어 응용 //현재 위치에서 *boost* 패턴에 해당하는 디렉토리만 검색 find . -name "*boost*" -type d //현재 위치에서 모든 디텍토리 검색 find . -type d //현재 위치에서 모든 파일 검색 find . -type f //현재 위치에서 모든 심볼링 링크 파일 검색 find . -type l find 검색 결과 삭제 //현재 위치에서 *boost* 패턴에 해당하는 파일 삭제 find . -name "*boost*" -delete //현재 위...


#find #리눅스파일내용검색 #리눅스파일검색 #리눅스find #linux파일명검색 #linux파일내용검색 #linuxfind #find옵션 #find명령어 #리눅스파일명검색

원문링크 : [Linux] 리눅스 find 명령어 사용법 (파일 검색 및 파일 내용 검색)