Which command to search text/phrase in file?
Example: i want to find the phrase "wonderful day", i'm sure that it is contained in another files (i don't know what it is).
Which command can i find the phrase in more and more files (linux system). Plesea tell me, thanks so much. |
grep, specifically with the -R (recursive) option if you're not sure exactly where and -i (insensitive) if you're not sure of the case. And, with a phrase, quote it. 'man grep' for details.
|
|
All times are GMT -5. The time now is 06:04 AM. |