How to search in directory that can have subdirectories for files that are owned by the root user?

Hi experts.

How to search in directory that can have subdirectories for files that are owned by the root user?
LVL 8
LindaCAsked:
Who is Participating?
 
woolmilkporcConnect With a Mentor Commented:
Hi,

use

find /start/dir -type f -user root -print

wmp
0
 
LindaCAuthor Commented:
Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.