netstat -lnp # 查看端口
netstat -alepn # 查看所有的连接
netstat Socket -x -alepn # 查看所有的本地 socket 连接
awk '/ / {sum += $1};END {print sum}'
sort -rn
comm -23 <file1> <file2>
awk -F',' 'NR==FNR{a[$0]=$0;next}NR!=FNR{if ($0 in a) print $0}'
<file1> <file2>
rmdir