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.178linux.com/45746
评论列表(1条)
没写完吧?可以挑战一下