egghead.io
Courses
Current Time 0:00
/
Duration Time 0:00
illustration for Use Grep for Fast Search from the Command Line
Course

Use Grep for Fast Search from the Command Line

  1. 1
    Search the contents of files using grep
    2m 15s
  2. 2
    Search directory contents recursively using grep
    1m 41s
  3. 3
    Use find to search for filename patterns
    1m 33s
  4. 4
    Search matching files by combining find and grep with xargs
    2m 20s
  5. 5
    Search the contents of a git repository with git grep
    1m 46s
  6. 6
    Show context around matches using grep
    1m 59s
  7. 7
    Search for basic patterns using grep
    2m 9s
  8. 8
    Use grep's extended regular expressions to find complex patterns
    2m 35s
  9. 9
    Search for optional patterns with grep OR
    1m 7s
  10. 10
    Specify line beginning and end in patterns using grep
    1m 18s
  11. 11
    Match classes of characters using bracket expressions with grep
    2m 21s
  12. 12
    Search with groups using grep
    2m 12s
  13. 13
    Find matches excluding a pattern with grep
    59s

Find matches excluding a pattern with grep

Bonnie Eisenman
InstructorBonnie Eisenman
Share this video with your friends

Social Share Links

Send Tweet

What happens when you want to find things that don't contain a pattern? The -v flag lets you use grep in inverse mode. We'll use grep -v against find's output to exclude files in node_modules.

View code on GitHub
©egghead.io
Terms & ConditionsFAQ