Other Usage (when checking disk usage in CPanel accounts)

spiros · 1 · 1361

spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 824795
    • Gender:Male
  • point d’amour
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"
« Last Edit: 04 Jan, 2015, 20:04:50 by spiros »


 

Search Tools