Day 35 - Grep: case insensitive

11 May 2017

Grep argument of the day: -i

It makes your search insensitive to the case

$ cat > foobar.txt <<EOF
foobar
FOOBAR
EOF
$ grep foobar foobar.txt
foobar
$ grep -i foobar foobar.txt
foobar
FOOBAR
# ~/.bashrc
alias grep='grep -i'