One of the first grep habits I developed was to stop assuming I knew how something was capitalized. Rather than guess, I just let grep handle it for me. That’s where -i comes in. It tells grep to ...
The simplest grep command looks like the one shown below. This “find string in file” command will show all the lines in the file that contain the string, even when that string is only part of a longer ...