Thursday, 31 July 2014

grep in all files in all subdirectories

You want to find some line or phrase but you do know exact location?

Use grep!

Syntax is simple!

server#grep -r fraze /dir

This -r option means recursive so depending of your current location this will grep in all files in all subdirectories!


No comments: