Find files and directories with UID,GID,Sticky bit set
# find ./ -type -d -perm 1000 -exec ls -ld {} \;
# find ./ -type f \( -perm -2000 -o -perm -4000 \) -exec ls -ld {} \;
$ ansible -i hostlist all -o -a "ls -l /etc/resolv.conf" | sort | grep -v "Mar 20 10"
No comments:
Post a Comment