Case insensitive text search in files

# grep -i “<text to search>” <file(s)>

e.g.

#grep -i Veejansh *

(This searches all case variations of “Veejansh” in all the files in current directory.)

This entry was posted in Linux. Bookmark the permalink.

Comments are closed.