1,
~]# grep "^root\>" /etc/passwd | cut -d: -f7
4,
~]# ifconfig | grep "\<[0-9][0-9][0-9]\>"
7,
~]# find /var -user root -group mail
8,
~]# find / -nouser -o -nogroup -ls
9,
~]# find /etc/ -perm -222 -ls
10,
~]# find /etc/ -type f -size +1M
11,
~]# find /etc/init.d/ -type f -perm -112 -ls
12,
~]# find /usr/ -type f -not -user bin -not -user root -ls
~]# echo $?
0
13,
~]# find /etc/ -type f -perm /666 -ls
14,
~]# find /etc/ -type f -not -user root -atime -7
~]# echo $?
0
原創文章,作者:N22-無錫-嚯嚯,如若轉載,請注明出處:http://www.www58058.com/45746
沒寫完吧?可以挑戰一下