2 Answer
I will persist hardly ever that it really is awesome! The blog is normally details also typically fabricate great entitys. https://www.erodoru.com/
both find and locate are used to search the file and directory in linux...using find command you have to mention that
particular path to search particular file.., but locate command dosen't required this method it will search through
updatedb. locate is very fast to search but less accurate compare to find........
for example:-
am going to search apache configuration file httpd.conf through find command.
[root@localhost ~]# find /etc/httpd/ httpd.conf
/etc/httpd/
/etc/httpd/conf
/etc/httpd/conf/magic
/etc/httpd/conf/httpd.conf
same httpd.conf file am going to search through locate command...
[root@localhost ~]# locate -l 2 httpd.conf
/etc/httpd/conf/httpd.conf
/etc/sysconfig/ha/conf/httpd.conf
Your Answer
x