系统相关命令:
<27> 查看程序运行多长时间: “time tar cvf haha.tar haha/”
<28> 查看当前系统时间:“date”
<29> 查看内核:“uname -a”
<30> 统计文件和目录所占磁盘空间: “du”
<31> 显示内核状态信息: “dmesg”
<32>查看日历:“cal”
<33>计算器:bc等
<34>查找一个文件:
当前目录下查找:“find . -name hello.c”
指定文件下查找:“find haha/ -name hello.c”
不区分大小写查找:“find haha/ -iname hello.c”
<35>搜索关键字:“grep "usb" -c -r haha/ "" -c表示只显示行号