Results 1 to 7 of 7
hi all,
i am a linux newb. I would like to find a file using the "command line prompt". lets say, "hosts.lpd" on the whole linux system. Kindly let me ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-11-2006 #1
find command
hi all,
i am a linux newb. I would like to find a file using the "command line prompt". lets say, "hosts.lpd" on the whole linux system. Kindly let me know how to go about it .let me if there any other command in unix which does the same thing efficiently.
thanx
- 04-11-2006 #2
Should be able to just go:
If you get an error about the database not being updated recently run as root:Code:locate hosts.lpd
Then try 'locate' again.Code:updatedb
- 04-11-2006 #3
You could also do
Code:#find / -name hosts.lpd
- 04-11-2006 #4
- 04-11-2006 #5does the trick for any commands or script you need to find ...Code:
whereis <command>
Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
<~ http://www.linuxcommand.org/ ~>
- 04-12-2006 #6
There's a nice little tutorial on find at
http://www.hccfl.edu/pollock/Unix/FindCmd.htm
and another one
http://www.softpanorama.org/Tools/Fi...tutorial.shtml
I've found both of them helpful
- 08-04-2006 #7Just Joined!
- Join Date
- Sep 2005
- Location
- New delhi
- Posts
- 22
Check out linux best tutorial site with 25+ examples.
www.amitsharma.linuxbloggers.com/how_to_find.htm


Reply With Quote
