@Trevor Let me give a reverse engineering hint or something that learners can relate this answer to :
"On a Linux system, how can you generate a comprehensive list of all regular files in the filesystem that have the SUID or SGID (set-user-ID or set-group-ID) bit set, along with their detailed file-permission, owner/group and path information - while suppressing error messages such as “permission denied”?"
Hello @Trevor
It shows all SUID/SGID files on the system with detailed listing.
Any error messages (like "permission denied") are hidden (2> /dev/null).
You may refer to the below screenshot:
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.