To find files on a linux system you can use following command:
# find / -name xxxx
But I prefer to use the locate command. This command is extremely easy to use and it’s faster than the find-command.
# locate filename
To install the locate package, use yum.
# yum install mlocate
To update it’s ‘internal database’, run following command.
# updatedb
To find a file, use following command
# locate httpd.conf /etc/httpd/conf/httpd.conf
Comments