> and i find locate just useless; it's not as versatile as find.
It is a lot faster, though. :)
--
Nate Eldredge
neld...@hmc.edu
and i find locate just useless; it's not as versatile as find.
Coy
--
Coy Hile
hi...@cse.psu.edu
"Theirs not to reason why; theirs but to do...."
Tennyson, "Charge of the Light Brigade"
| I cant get either the "find" or " locate" commands to work.
I don't know about locate, but if you can't get find to work, you're
probably just using it wrong. find works fine. locate probably works
fine, too, I'm just not familiar with it.
| From the command line and logged on as root I enter (find / any-name)
That's not the right way to use find. For starters, enter the command
"find / -name \* -print" and see what happens: you should get a list
of lots of files written to standard output. Assuming you do, find is
probably working just fine. Read the man page for more information.
--
Or better still
find / -iname anyname >/tmp/newfile
^(case insensitive)
the output of find can be very large, so you'll see it passing by your
screen fast. It's a good thing to print it to a file.
--
Horacio Anno MMDCCLII ad Urbe condita
hom...@ciberia.es Valencia - ESPAÑA
--------------------------------------------------------------------
Key fingerprint = F4EE AE5E 2F01 0DB3 62F2 A9F4 AD31 7093 4233 7AE6
Yes, this is the sole purpose of locate. It's quick.
It's not overly versitile, but I don't want it to be.
I like being able to find files according to name.
Find is not an option on a multiuser server.
Slocate should be used, rather than locate, btw.
Brian
--
Brian Scanlan sup...@hos.horizon.ie
Horizon Open Systems Ltd. http://www.hos.horizon.ie
East Point Business Park Tel:+353-1-805-5700
Dublin 3, Ireland Fax:+353-1-805-5601
Sent via Deja.com http://www.deja.com/
Before you buy.