Use the -R
switch for a recursive search (or -r
or --recursive
).
from the man page:
-R, -r, --recursive Read all files under each directory, recursively; this is equiv- alent to the -d recurse option.
Ich habe installiert unixutils
und grep string *
kann string
im aktuellen Verzeichnis suchen ,
aber wie kann man rekursiv suchen ?
Use the -R
switch for a recursive search (or -r
or --recursive
).
from the man page:
-R, -r, --recursive Read all files under each directory, recursively; this is equiv- alent to the -d recurse option.
Alternatively, if you don't need grep
-specific functionality: Windows supports this out of the box anyway:
findstr /s "string"