ls to display path?
How do you get ls to display the path to the file?
For example, lets say I'm looking for a file in one of the million subdirectories in /etc. And I know it's in one of the subdirectories but I don't know which subdirectory and I don't wanna try going through each one.
I type:
ls -R /etc | grep blah
and it just displays all the "blah"s in the subdirectories of /etc, but it doesn't tell me exactly where in /etc the file is. I tried -l flag for long but that didn't help. I couldn't find anything in the man page for ls, but maybe I overlooked an argument?
|