compunet2

Well-Known Member
Feb 21, 2003
310
0
166
I have a folder, /home/xxx/public_html, and I want to find all files in that folder, and its subfolders that are owned by 'nobody'. How can I do that? If thats not possible, how can I have it list the contents of that folder and its subfolders to a file for me to lookat?
 

Spiral

BANNED
Jun 24, 2005
2,020
8
193
Easy enough ....
Code:
cd /home

find ./*/public_html -user 'nobody'
You can replace the "*" with a login name if you only want the files owned
by nobody for a specific account listed.
 
Last edited: