Linux & UNIX
find 명령어
fabxoe
2019. 9. 18. 23:34
find /etc -name "*.conf"
find /etc -name "*.conf" > conf.txt
find /usr/bin -size +95k -size -100k
find /usr/bin -size +95k -size -100k -exec ls -l {} \;
-exec옵션은, find의 결과를 -exec의 중괄호{ }안에 들어간 형태로 놓고 ls -l 명령이 실행한다고 이해할 수 있다.