摘要: #!/bin/bash #-*-coding-*-:utf-8 #清除日志脚本 #定义日志路径:/var/log LOG_DIR=/var/log #定义一个变量,用于对比用户的$uid ROOT_UID=0 if [ "$UID" -ne "$ROOT_UID" ] then echo "You Mast be useing root to running the script." exit ... 阅读全文
posted @ 2017-09-04 17:45 大象无形01 阅读(154) 评论(0) 推荐(0) 编辑