shell
tldr 可以展示常用命令的常见用法
管道(参考管道与Unix哲学)
一些细节要注意,例如, uniq 只是去除连续的重复行,可以认为是局部去重,所以并不能用在完全去重的场景中(除非先对数据做排序)
awk 和 sed
SED & AWK by 董伟明
系统监控
常用如下十个命令(参见Linux Performance Analysis in 60,000 Milliseconds by NetFlix)
uptime dmesg | tail vmstat 1 mpstat -P ALL 1 pidstat 1 iostat -xz 1 free -m sar -n DEV 1 sar -n TCP,ETCP 1 top