[AWK] How to pickup specific data Posted by Computer Newbie on 晚上10:14 in awk, Ubuntu / No comments Catch column 5 awk -F' ' '{ print $5 }' ./abc.txt | awk "NR==1{print;exit}" # wlanconfig ath0 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS ACAPS ERP STATE HTCAPS 1c:4b:d6:d0:2e:ee 1 1 145M 63 0 341 7936 EPSs 0 f WPS RSN WME Reference : How To Use awk In Bash Scripting Share This: Facebook Twitter Google+ Stumble Digg 以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook
0 意見:
張貼留言