Is there anyway I can list all the files that belong to a particular owner?
Additionally can I list all the files that belong to a group?
find should answer:
sudo find / -user root
To search a specific directory, just replace / with the full path. You can drop the sudo part of the command if you don't mind warnings about being unable to read special files.
For group ownership finds, use:
sudo find / -group root
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago