ubuntu search file from terminal code example
Example: how to search in directory files in ubuntu
# this will search all subdirectories for your text (no case sensitivity)
# it also prints the line number of the text in file
grep -inR "your text" .