Tuesday, February 16, 2010

Using grep command recursively

I used following command on Ubuntu server to find specific string under directories recursively, where /etc/ is root path under which I am interested to search.

grep -r 'myString' /etc/

No comments: