Skip to content

find a word INSIDE any file down a file tree! Power find and grep

find . | xargs grep drewinfoforplot | less

 

the above finds every file below current directory, and then greps for the WORD drewinfoforplot in all of them!

Published inUnix Hint

Comments are closed.