监测网站目录是否有篡改 方法一:md5sum [root@shnne scripts]# cat diffpro.sh #!/bin/sh path=/server/scripts/cuangai [ ! -d $path ] && mkdir -p $path [ ! -f $path/diff.log... 2017-11-29/ 1263 次浏览/ Linux运维
打印下面不大于6的单词 [root@shnne ~]# cat liu.log I am shnne welcome to my blog. [root@shnne ~]# cat liu.sh #!/bin/sh array=($(cat liu.log)) for((i=0;i<${#array[@]};i++)) do... 2017-11-29/ 1288 次浏览/ Linux运维