1. 程式人生 > >shell命令常用功能集

shell命令常用功能集

功能 shell命令 bsp style ifconfig conf 常用 空行 con

解析ip地址

ifconfig ethx | awk -F [ :]+ NR==2 {print $4}

匹配空行

grep "^$" *

shell命令常用功能集