Hi, I know I can do a full text search by the command "grep KEYWORD *" in current directory. But if I want to do that in sub-directories too, what should I type then? Thanks.
Stefan, which flavour of grep gives you the -R option? I'm interested because none of the vanilla Solaris or AIX versions I have seem to support it. Thanks.
I have the GNU [tt]grep[/tt] 2.5.1, from SuSE 8.1's default installation. From it's man page : -R, -r, --recursive Read all files under each directory, recursively; this is equivalent to the -d recurse option.
Sometimes I think that there should be another forum for Linux scripting. [tt][/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.