Pete Freitag Pete Freitag

Case Insensitive Grep Search


To perform a grep search that ignores case, or is case insensitive, use the -i option (or --ignore-case). The grep command is case sensitive by default.

grep -i bob file.txt

Like this? Follow me ↯

Case Insensitive Grep Search was first published on August 01, 2005.

If you like reading about grep, or bash then you might also like:

Post a Comment