If you're on linux, the grep family takes the -r flag for "recursive" searches, e.g.
caguayo@dukie 207: fgrep -r authorized_keys ./keys ./keys/authorized_keys:# /etc/ssh/keys-root/authorized_keys ./keys/dir:/etc/ssh/keys-root/authorized_keys Other versions of grep don't support that, so it gets a bit more complicated, but not much. Carlos On Fri, Dec 6, 2013 at 12:11 PM, Scott Howard <[email protected]> wrote: > Can someone point me to a program or method that will search the files on the > hard drive for a character string. I use locate for a filename string but I > do not know how to search for a character string within a file. > > Thank you in advance. > > Scott Howard > > > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
