Re: [PLUG] Searching Files for Character String

2013-12-06 Thread Patrick J. Timlick
ack-grep "is designed as a replacement for 99% of the uses of grep." On my Ubuntu system I installed it thus: "sudo apt-get install ack-grep". Once installed, you can find out more with "man ack-grep". Write, if you find trouble. -- Pat On Fri, Dec 6, 2013 at 12:11 PM, Scott Howard wrote: >

Re: [PLUG] Searching Files for Character String

2013-12-06 Thread Carlos Aguayo
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

[PLUG] Searching Files for Character String

2013-12-06 Thread Scott Howard
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 ___