grep 242

  1. How do I find all files containing specific text on Linux?
  2. grep a file, but show several surrounding lines?
  3. How do I grep recursively?
  4. How to grep (search) committed code in the git history?
  5. How to pipe stderr, and not stdout?
  6. How can I use grep to show just filenames (no in-line matches) on Linux?
  7. Negative matching using grep (match lines that do not contain foo)
  8. Use grep --exclude/--include syntax to not grep through certain files
  9. grep, but only certain file extensions

  10. How to 'grep' a continuous stream?
  11. How to grep Git commit diffs or contents for a certain word?
  12. Can grep show only words that match search pattern?
  13. How can I exclude directories from grep -R?
  14. How can I use grep to find a word inside a folder?
  15. Colorized grep — viewing the entire file with highlighted matches
  16. How do I find files that do not contain a given string pattern?
  17. grep a tab in UNIX
  18. How can I exclude one word with grep?
  19. What are good grep tools for Windows?
  20. How do I grep for all non-ASCII characters?
  21. How can I format my grep output to show line numbers at the end of the line, and also the hit count?
  22. Exploitable PHP functions
  23. Get line number while using grep
  24. Capturing Groups From a Grep RegEx
  25. How can I make grep print the lines below and above each matching line?
  26. Count all occurrences of a string in lots of files with grep
  27. How can I grep for a string that begins with a dash/hyphen?
  28. How can I get `find` to ignore .svn directories?
  29. Highlight text similar to grep, but don't filter out text
  30. Display filename before matching line (grep)
  31. Exclude .svn directories from grep
  32. How to search contents of multiple pdf files?
  33. How to grep a string in a directory and all its subdirectories' files in LINUX?
  34. Grep only the first match and stop
  35. Delete all local git branches
  36. How to check if a file contains a specific string using Bash
  37. Regex (grep) for multi-line search needed
  38. Windows recursive grep command-line
  39. How can I have grep not print out 'No such file or directory' errors?
  40. What is makeinfo, and how do I get it?
  41. How can I find all of the distinct file extensions in a folder hierarchy?
  42. How to invert a grep expression
  43. How to grep and replace
  44. More elegant “ps aux | grep -v grep”
  45. How to find patterns across multiple lines using grep?
  46. How to show only next line after the matched one?
  47. How to use grep to match multiple strings in the same line?
  48. grep output to show only matching file
  49. grep without showing path/file:line
  50. How to get the process ID to kill a nohup process?