How to perform a recursive keyword search under Solaris?
How to perform a recursive keyword search under Solaris?
(OP)
Hi.
I was wondering what would be the best/easiest way to recursively search for a keyword inside a file? Basically I know the contents of a file but have no idea where the file is.
I have explored with find, grep, cat, ls -lR etc but none of them recurse when looking for a pattern inside a file.
Thanks in advance.
I was wondering what would be the best/easiest way to recursively search for a keyword inside a file? Basically I know the contents of a file but have no idea where the file is.
I have explored with find, grep, cat, ls -lR etc but none of them recurse when looking for a pattern inside a file.
Thanks in advance.





RE: How to perform a recursive keyword search under Solaris?
find . | xargs grep STRING
Regards
Jono
RE: How to perform a recursive keyword search under Solaris?