Answer:
For SGID you type this
$ find . -perm /4000
For SUID you type this
$ find . -perm /2000
Step-by-step explanation:
Auxiliary file permissions, that are commonly referred to as “special permissions” in Linux are needed in order to easily find files which have SUID (Setuid) and SGID (Setgid) set.
After typing
$ find directory -perm /permissions
Then type the commands in the attachment below to obtain a list of these files with SGID and SUID.