I've been looking at this thread. The solution (number 2, with
ls grep) works perfectly for files called .txt in the current directory. How about if I wanted to search through a directory and the subdirectories?
For example, I have to search through a directory that has many subdirectories, and they have many subdirectories etc.
I'm new to Linux sorry, so I'm not sure if this is the right place