Today I have learned the command to search a word in a file along with line number
egrep -in “nava|neethan” *.txt
egrep extended grep -in insensitive case and number “nava|neethan” word to be searched (nava or neethan) *.txt look up files
sample output: egrep -in “nava|neethan” name.txt
1:nava is my first name
2:neethan is my last name
3:navaneethan = Navaneethan
Thanks for visiting today’s command of the day!!