![]() |
I need some UNIX help -- how to search subdirectories for files?
can't I do something like
ls findthisfile.blah -R i't not working... :( |
find / -name whatever* -print
|
there's a better way but
find / |grep filename.txt does the job or find ./ |grep filename.txt if you want to search from a specific dir up.. |
It's something like find -iname
or something like that been awhile. or you can try locate filename or whereis filename |
ls -R |grep findthistext
looks like I figurd it on my own tnx for nothing hehe |
find -type f -iname filename
Edit: varies slightly from distro to distro. SpaceAce |
which *file
that works sometimes if you're looking for an app. |
I'd suggest either the ls -R |grep filename or find . -name "filename*" -print
|
All times are GMT -7. The time now is 12:36 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123