会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
大象无形01
博客园
首页
新随笔
联系
订阅
管理
2017年9月4日
清空日志
摘要: #!/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)
编辑
公告