Pages

Wednesday, May 1, 2013

Search files for a string in linux

Use grep
example, look for the text hsbc in the /srv/www/ location

# grep -r -l "hsbc" /srv/www/

No comments:

Post a Comment