新学到的linux命令

whatis xxx

whatis ls

会返回一个ls的简要说明,可以简单的告诉你该命令的作用,不用man去看一大堆没啥用的英文

HISTTIMEFORMAT="%d/%m/%y %T "

history
将history中执行的命令时间格式化并显示出来

dd if=/dev/zero of=/tmp/output.img bs=8k count=256k conv=fdatasync; rm -rf /tmp/output.img
测试磁盘写入速度

du -hsx * | sort -rh | head -6

查看当前磁盘空间占用最大的6个文件

stat filename

查看文件的详细状态信息

man $(ls /bin | shuf | head -1)
随机显示/bin下的命令中的帮助信息
作者: 朵朵朵 
链接:http://www.imooc.com/article/1429
来源:慕课网

posted @ 2017-05-27 17:20  菲菲菲菲菲常新的新手  阅读(148)  评论(0)    收藏  举报