Linux mint cinnamon 64位找不到/dev/null
#!/bin/bash find / -perm -4000 -o -perm -2000 > /tmp/setuid.check for i in $(cat /tmp/setuid.check) do grep $i /root/suid.log > /dev/null if ["$?" != "0"] then echo "$i isn't in listfile!">>/root/suid_log_$(date+%F) fi done rm -rf /tmp/setuid.check