Linux 命令使用案例

查看tcp协议状态的命令: netstat -an | awk '/^tcp/ {++sta[$NF]} END {for(key in sta) print key," ",sta[key]}'

查询出大文件内容: ls -lh  $(find / -type f -size +100M)

查看进程的工作目录: pwdx <pid>

原文地址:https://www.cnblogs.com/sanshuiqing/p/14648111.html