码迷,mamicode.com
首页 > 其他好文 > 详细

工作中常用命令

时间:2015-12-24 10:33:08      阅读:172      评论:0      收藏:0      [点我收藏+]

标签:

sed -n ‘21592,23591p‘  log

perl -pi -e ‘s/str1/str2/g‘ log

prstat -s size -n 10

prstat -s cpu -n 10

ls -lR | sort -bn +4 (smallest to largest)

ls -lR | sort -bnr +4 (largest to smallest)

find . -name "*" -exec gzgrep "str" {} \;

find . -type f -mtime +3 -size +20480 -print

du -k . | sort -nr | head -20

df -h

/usr/ucb/ps auxwww

nohup ./program > log 2>&1 &

 

工作中常用命令

标签:

原文地址:http://www.cnblogs.com/litao9046/p/5072168.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!