what is the difference between locate and find ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.. I tried to look for a file in a linux box using both locate and find , when using find I can
find my file but locate cannot.  However I found sometime locate will work when I look for other
file.  what is the difference between locate and find ?

[root@wa html]# locate abc.pl
[root@wa html]# find / -name abc.pl -print
find: /proc/21829/fd: No such file or directory
/usr/local/abc/abc.pl
[root@wa html]# 


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux