Linux / Unix Find All The Files Owned By a Particular User / Group

Originally published at: https://www.cyberciti.biz/faq/how-do-i-find-all-the-files-owned-by-a-particular-user-or-group/

How do I list or find all the files owned by a particular system user or group under Linux or UNIX like operating systems using command line options?

man find

-user and -group are handy

You’re go to your terminal and you can type a command “ls -l”.

Find files owned by root user in “/” directory:
find / -user root
find / -group root

1 Like

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki