标签:++ 地址 最大 ddr lob rgba $2 oba style
ip addr | awk ‘/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}‘ | awk ‘NR==1‘
awk ‘{for(x=1;x<=NF;x++)a[++y]=$x}END{c=asort(a);print "min:",a[1];print "max:",a[c]}‘
标签:++ 地址 最大 ddr lob rgba $2 oba style
原文地址:https://www.cnblogs.com/jianzhang440/p/14302328.html