Linux

find grep 파일명 찾기

애플자라 2010. 1. 5. 19:23
반응형

find . -name "*.jsp" | xargs grep -n "smssend"

jsp파일중에 smssend가 들어가 있는 파일 찾기

find / -name *kiwoom_customer.txt

 

www]# find . -name '*.*' -type f -exec grep SAMPLE {} \; -print
또는
www]# find . -name '*.*' -type f | xargs grep SAMPLE

반응형