起步上台:基础命令 awk '{print $1}' break.txt awk '{print $2, $3}' break.txt awk '{printf "%08s", $1}' break.txt 脱掉外套:过滤记录 awk ' $3==0 && $6=="LISTEN" ' netstat.txt 比较运算符 == != > < >= <= awk '{print NR, $1, $2}' func.txt NR: 输出行号(已经读出的记录数,从...