ubuntu command search in files code example
Example 1: search file in ubuntu
$ find /path/to/file/ -iname filename
Example 2: 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" .