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


#1

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?


#2

man find

-user and -group are handy


#3

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


#4

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