Re: Change default PATH for Jessie / wheezy+1
On Wed, Aug 08, 2012 at 07:44:25PM +0200, Vincent Bernat wrote:
> ❦ 8 août 2012 12:21 CEST, David Given <david.given@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 | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
tzafrir@debian.org | | friend
Reply to: