Re: Define an alias with an embeded awk command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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`



<<attachment: smime.p7s>>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux