Translation - Μετάφραση

Resources, Technical Assistance and Technology News => Tips on Using Computers => Translator resources => Linux tips => Topic started by: spiros on 04 Jan, 2015, 19:13:14

Title: Other Usage (when checking disk usage in CPanel accounts)
Post by: spiros on 04 Jan, 2015, 19:13:14
Other Usage (when checking disk usage in CPanel accounts)

To find all files owned by that user (who are not in the user directory, and that is why you cannot find them), you need to try this from command prompt if you have root access:

Code: [Select]
find / -user USERNAME
Replacing USERNAME with the specific account name.

If you do not have root access, ask your host to check for you.

In the example below, locate or find all files that belong to a user called "george" in the /home directory:

Code: [Select]
find /home -user george
In the example below, locate or find all *.pl (perl files) that belong to a user called "george" in the /var/www directory:

Code: [Select]
find /var/www -user george -name "*.pl"