most excellent. no need whatsoever for ifconfig now.
-d
Greg Maxwell wrote:
> >
> > there is yet one reason why ifconfig is still handy. stats. ip doesn't print
> > the interface stats.
> >
> > otherwise, for the majority of systems i setup and use these days, i use ip.
> > for most of them i don't have ifconfig installed.
>
> /sbin/ip -s link
> 1: lo: <LOOPBACK,UP> mtu 3924 qdisc noqueue
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> RX: bytes packets errors dropped overrun mcast
> 400 8 0 0 0 0
> TX: bytes packets errors dropped carrier collsns
> 400 8 0 0 0 0
> 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
> link/ether 00:10:4b:28:2d:01 brd ff:ff:ff:ff:ff:ff
> RX: bytes packets errors dropped overrun mcast
> 13738208 33511 0 0 0 0
> TX: bytes packets errors dropped carrier collsns
> 34907059 32658 0 0 0 0
-- This is Linux Country. On a quiet night, you can hear Windows NT reboot! Do you remember how to -think- ? Do you remember how to experiment? Linux __ is an operating system that brings back the fun and adventure in computing. \/ for linux-kernel: please read linux/Documentation/* before posting problems
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/