how to locate file in home directory
I simply want to find all files OR directories like "fi*" anywhere (recursively) in my /home directory (I downloaded firefox and want to find it).
I've tried all kinds of varations of locate, find and grep, all with various results. - so what is the command, if I am in my home directory to say "find me all files/directories that start with fi*" Thanks. |
go to your home directory using the cd command. Then, issue the command
ls -R . fi* |
Hi,
Find could do that: find /home/yourloginname -name "fi*" -print Hope this is what you want. |
yes, that find syntax is exactly what I was looking for:
find -name fi* works great, thanks! |
All times are GMT -5. The time now is 12:20 PM. |