Gets the capabilities for all files it has permission to. Can be filtered with a “grep setuid” if needed, since this would probably be most interesting.
Command Reference:
dev null: 2>/dev/null forwards all errors into nothingness
Command:getcap -r / 2>/dev/null