Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Use Grep for Fast Search from the Command Line

Use Grep for Fast Search from the Command Line

Autoplay

    Show context around matches using grep

    Bonnie EisenmanBonnie Eisenman
    1:59

    By default, grep displays the file path and the line where a match is found. Learn to use the flags -A, -B, -C, and -n to get more context, and view line numbers as well as the lines surrounding a pattern match.

    You must be a Member to view code