通过shell获取主机IP地址
通过shell获取主机IP地址1。IPV4的[root@slave3 bin]# ifconfig -a|awk '/(cast)/ {print $2}'|cut -d':' -f2|head -1192.168.1.1262.IPV6的:[root@slave3 bin]# ifconfig -a|egrep 'inet6 addr:|address: '|cu...
注册时间:2010-12-29