It is a lot faster, though. :)Quote:> and i find locate just useless; it's not as versatile as find.
--
Nate Eldredge
It is a lot faster, though. :)Quote:> and i find locate just useless; it's not as versatile as find.
--
Nate Eldredge
and i find locate just useless; it's not as versatile as find.
Coy
--
Coy Hile
"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.
--
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
--------------------------------------------------------------------
Key fingerprint = F4EE AE5E 2F01 0DB3 62F2 A9F4 AD31 7093 4233 7AE6
> > and i find locate just useless; it's not as versatile as find.
> It is a lot faster, though. :)
Find is not an option on a multiuser server.
Slocate should be used, rather than locate, btw.
Brian
--
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.
1. "find" and "locate" commands not working, linux RH5.2
IIRC, it's "updatedb" not "updateb" to update the locate database.
Apart from that, you're also using "find" incorrectly, as many others
have already explained.
--
David
2. Looking for Cyrix 200 owners
3. GETSERVBYNAME()????????????????????"""""""""""""
4. How do I use a .jpg for a desktop?
5. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""
6. Top 10 ways to remove Windows from your PC...
7. "write" "to" "flon" commands
8. unsubscribe
9. "brctl" command not working, how to create "brctl" file?
10. "weof" operation in "mt" command gives "permission denied"
11. Type "(", ")" and "{", "}" in X...
12. Why doesn't echo "text" 'command' "more text" work?