Find string pattern in directory of text files
I'm looking for the command that searched every file in a particular directory for the string "http://pdx.freedesktop.org/~fontconfig/release/". I just want file names and path returned it doesn't have to return the line number or anything, but its ok if it does return extra info.
|
The command you are looking for is GREP. Try "man grep" at the command prompt or you can look up the command online at:
http://techpubs.sgi.com/tpl.cgi/linux/man/ |
generally
grep "text to match" *.txt change the *.txt to whatever you want, or just * you can have it just list the path and filename or whatever you wish with other options. |
All times are GMT -5. The time now is 02:32 AM. |