ip also has a one-line output mechanism:
ip -o link show
...
I do wish the mothership would update its standard network configuration
scripts to use ip(8) rather than the legacy ifconfig(8). Rather than
using the legacy eth0:1 style interface aliases, allow a single
/etc/sysconfig/network-scripts/ifcfg-eth0 to contain a list of aliases
which get set with
ip addr add ......
ditto optional static routes could be set with
ip route add ...
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos