Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Author: UltratechHost - Replies: 0 - Views: 12431
How to find a file or folder in linux with locate
First of all it is better you update your locate db . to do this run this command :


It may take several minutes.

Now to find your file just run :

locate [file or folder name]

To install locate in linux you can use yum command if you have it installed.

to install locate with yum run this command as root :

yum install slocate -y

you also can install it with apt-get (ubutnu) and …

sudo apt-get install slocate