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

Tags
Author: UltratechHost - Replies: 0 - Views: 13203
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 :

updatedb

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 :

Code:
yum install slocate -y

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

Code:
sudo apt-get install slocate
Author: UltratechHost - Replies: 0 - Views: 3487
Some Temp Folder related solutions
Well if your server having too temp files and you can't which account is causing for this you can know that by bellow steps

To access Temp folder Login to your server through SSH and type the command

Code:
cd /tmp

Now For getting list of files run the command

Code:
ls

Now for getting list of files with account name, temp file size etc run the command

Code:
ls -l

Now it will show you all details and you can do the suspension of that account which is causing for temp f