find1 [UBUNTU] find 명령어 CLOUD: AWS EC2 OS: Ubuntu 22.04.4 LTS findfind find . -maxdepth 1현재 위치를 기준으로 level1의 디렉터리 보여줌 find . -maxdepth 2 파일만 검색find . -type f 👉 `test` 디렉터리에서 file만 검색find test -type f 디렉터리 검색find -type d 👉 `test2` 디렉터리에서 디렉터리만 검색find test2 -type d type이랑 depth 조합find test2 -type f -maxdepth 3 파일명으로 검색find test -name "*.txt" 👉 특정 파일명 입력해서 검색find test -name "error.txt"우분투는 대소문자 구문함 파일명으로 검.. 2024. 5. 29. 이전 1 다음