We propose here an easy and immediate method to search all the files containing our string.
# List every number:line that contains SUBSTRING # "r": read recursively all files under each directory # "n": line number of each matching text/substring # "w": select only those lines containing matches that form whole words # "i": case insensitive # "l": Suppress normal output; instead print the name of each input file from which output would normally have been printed. clear; grep -rni "./" -e "SUBSTRING"