Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to find a file 1

Status
Not open for further replies.

simanek

Programmer
Jan 19, 2001
137
US
Does anyone know how to find a file in solaris? Specifically I'm looking for 'make' as it seems to not be in my very limited $PATH. I thought 'locate' would do it but I think that my just be a linux thing. Thanks.

Mike
 
Hi,
the command is
find / -name filename -print
 
Hi,
it is just like NavinB have suggested,
what u need to do is cd to /(cd /)
than issue this command
find / -name *filename* -print | more
that will help if so many files.
 
Hi,

there is a glocate-tool for solaris, but i don't remember the source.
You will probably find it on or by asking google...

btw:
when using
Code:
find / -name ...
it's not necessary to cd first,
and when issuing the command as a non-root-user you probably will get lots of "read-permission-denied" messages, besides the fact that your system will slow down so that you and possible other users might decide to get the next cup a coffee..

ciao
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top