shell
iteye_13016
这个作者很懒,什么都没留下…
展开
-
脚本定期清理日志
scrollLog.sh #!/bin/bash cd `dirname $0` PWD_DIR=`pwd` echo $PWD_DIR SIZE=`du nohup.out | cut -f 1` echo $SIZE if [ $SIZE -gt 20000 ]; then >nohup.out echo ...原创 2012-12-10 15:38:37 · 121 阅读 · 0 评论 -
Linux cut
Linux 中cut命令 [root@app2 ~]# jps | grep Main | cut -d " " -f1 29465 [root@app2 ~]#原创 2013-03-05 17:28:07 · 121 阅读 · 0 评论