QuestionQ100

VerifiedEssential Commands

Which of the following find commands will print a list of files in /usr that are owned by root and have the SUID bit set?

Explanation

-uid 0 selects files owned by the root user, and permission bit 4000 is the set-user-ID (SUID) bit. find /usr -uid 0 -perm +4000 searches /usr and matches files satisfying both conditions.

Community Discussion

No comments yet. Be the first to start the discussion!