From 83df282230ebbef91c29b46a016052d61ed4c0c9 Mon Sep 17 00:00:00 2001 From: Bryce Jasmer Date: Wed, 15 Jul 2015 09:26:59 -0700 Subject: [PATCH] Include invert-match flag for grep. I'd argue that the -v (--invert-match) flag is as important a flag as -o (no offense to -o). Can't tell you how many times I've tailed a logfile and piped it through grep -v to filter out stuff I knew was legit or common. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f34ee0..692d1b4 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Notes: - Basic network management: `ip` or `ifconfig`, `dig`. -- Know regular expressions well, and the various flags to `grep`/`egrep`. The `-i`, `-o`, `-A`, and `-B` options are worth knowing. +- Know regular expressions well, and the various flags to `grep`/`egrep`. The `-i`, `-o`, `-v`, `-A`, and `-B` options are worth knowing. - Learn to use `apt-get`, `yum`, `dnf` or `pacman` (depending on distro) to find and install packages. And make sure you have `pip` to install Python-based command-line tools (a few below are easiest to install via `pip`).