2
I'm using ubuntu linux, and I use bash from with a terminal emulator every day for many tasks.
I would like to know how to find a string or a substring within a file that is within a particular directory.
If I was knew the file which contained my target substring, I would just cat the file and pipe it through grep, thus:
cat file | grep mysubstring
But in this case, the pesky substring could be anywhere within a known directory.
How do I hunt down my substring ?
1just as a note... you don't have to pipe cat to grep. grep can read files just fine. – xenoterracide – 2010-05-05T22:46:57.487