c or linux

shell) grep + find file name

'김용환' 2012. 12. 26. 20:08

grep 과 동시에 파일명을 찾고 싶을 때 사용가능한 리눅스 쉘 명령어.


$ find . -type f | xargs grep 'abc'

./파일명:[OK  ] abc