This is a good guide for #sysadmin starting off. While I knew all of the flags/options mentioned in the post, that knowledge was gained over time; not reading a single post and emerging the ruler of #grep.
For example, it took me more than a year to know that `grep` could search within files directly. Until then I thought it could only search from STDIN and that I had to `cat file | grep string`.
The count matching too took a while to figure out. I was piping to `wc -l` instead.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!