Friday, 30 June 2006

Recursive Grep in a subdirectory

To find a text in a subdirectory, do something like:

grep '192.168.1.1' /etc -d recurse

if you're looking for '192.168.1.1' in the /etc directory

How come I never found this in cygwin's "grep --help" but it actually
works?

No comments: