[CentOS] Define an alias with an embeded awk command
Larry Brower
larry-lists at maxqe.comTue Dec 15 06:58:11 UTC 2009
- Previous message: [CentOS] Define an alias with an embeded awk command
- Next message: [CentOS] Define an alias with an embeded awk command
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/14/2009 11:20 PM, Majian wrote: > echo `ifconfig eth0 | grep 'inet addr:' |awk '{print $2}' | cut -c 6- echo `ip addr |grep inet|grep -v 127.0.0.1|awk '{print $2}'|cut -d/ -f1` -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6672 bytes Desc: S/MIME Cryptographic Signature URL: <http://lists.centos.org/pipermail/centos/attachments/20091215/e9470536/attachment-0001.p7s>
- Previous message: [CentOS] Define an alias with an embeded awk command
- Next message: [CentOS] Define an alias with an embeded awk command
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list