On Wed, Aug 08, 2012 at 07:44:25PM +0200, Vincent Bernat wrote:
>  ❦  8 août 2012 12:21 CEST, David Given <david.gi...@gmail.com> :
> 
> > ifconfig (before this discussion I'd never even *heard* of ip)
> 
> All what is inside "net-tools" package is old and hardly maintained.
> 
> "arp" can be replaced by "ip neigh", "ifconfig" by "ip addr" or "ip link", 
> "route" by
> "ip route", "ipmaddr" by "ip maddr", "mii-tool" by "ethtool", "netstat"
> by "ss", "nameif" by "ip link", "iptunnel" by "ip tunnel". "iproute" and
> "ethtool" packages are kept in sync with kernels and allow the user to
> use the latest features.

Apologies for the rant mode:


# mii-tool 
eth0: negotiated 100baseTx-FD flow-control, link ok

# ethtool 
ethtool: bad command line argument(s)
For more information run ethtool -h

# ethtool -h | grep '   ethtool' | grep -v DEVNAME
        ethtool -h|--help               Show this help
        ethtool --version               Show version number

So no, it's not a simple replacement.


While I'm in rant mode, note that there's no programmable bash
completion for the subcommands of ip. I wasn't aware of ip neigh.

-- 
Tzafrir Cohen         | tzaf...@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzaf...@cohens.org.il |                    |  best
tzaf...@debian.org    |                    | friend


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120809081646.gj12...@pear.tzafrir.org.il

Reply via email to