Grep has got to be one of the most important NIX utilities that can help you filter huge amounts of data fast and reliably. Without it, such a task can be incredibly slow, or even downright impossible in certain cases. If you've ever been in the position to have to look for specific data or data patterns inside of a large file or a large set of them, you know how tedious that can get. In case you haven't - buckle up because you're about to find out.
Link to "The Ken Thompson and Dennis Ritchie Story": https://www.youtube.com/watch?v=g3jOJfrOknA
CHAPTERS
------------------
0:00 - Intro
0:40 - Use cases
1:25 - History bit
2:00 - Why use it?
2:42 - Syntax of "grep"
3:18 - Case insensitive (-i)
3:29 - Whole words (-w)
3:40 - Count matches (-c)
3:46 - Line numbers (-n)
3:52 - Only output (-o)
4:02 - Invert match (-v)
4:14 - Recursive mode (-r)
4:40 - Include & exclude
4:53 - Get context (-A, -B, -C)
5:17 - Regular Expressions
6:54 - Pipelines with "grep"
7:11 - About the next video
33 Comments