grep is a command-line text-search utility originally written for Unix.
How do I recursively grep all directories and subdirectories? find . | xargs grep "texthere" *
linux unix grepI would like to grep for a string, but also show the preceding five lines and the following five lines …
search logging grep command-line-interfaceI have been trying to work out the syntax for this command: grep ! error_log | find /home/foo/public_html/ …
regex grepIn Windows, I would have done a search for finding a word inside a folder. Similarly, I want to know …
string command-line grep keyword-search file-searchIs there a way to make grep output "words" from files that match the search expression? If I want to …
grep wordsHow can I use grep to show just file-names (no in-line matches) on Linux? I am usually using something like: …
linux grepI am working on writing some scripts to grep certain directories, but these directories contain all sorts of file types. …
linux unix search command-line grepI'm looking for the string foo= in text files in a directory tree. It's on a common Linux machine, I …
unix search shell command-line grep