[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ip address



Quoting briand@aracnet.com (briand@aracnet.com):
> On Fri, 17 Jul 2015 19:25:45 -0500
> David Wright <deblis@lionunicorn.co.uk> wrote:
> 
> > Quoting John J. Boyer (john.boyer@abilitiessoft.org):
> > > Thanks for all of your answers. The problem was that ifconfig is in sbin 
> > > not bin.
> > 
> > I think you're better off forgetting about ifconfig and using ip in
> > its place; that's the direction things are heading. From Packages:
> > 
> > Package: iproute2
> > ...
> > Description: networking and traffic control tools
> >  The iproute2 suite is a collection of utilities for networking and
> >  traffic control.
> >  .
> >  These tools communicate with the Linux kernel via the (rt)netlink
> >  interface, providing advanced features not available through the
> >  legacy net-tools commands 'ifconfig' and 'route'.
> 
> the output of ip is a bit of a mess.
> 
>   valid_lft forever preferred_lft forever
> 
> what the hell ? i have no idea what tha means.  i know i'll do man ip, it's probably 
> got an explanation. no. it doesn't.

To be fair, ip is hardly the only command whose man page documents the
command line input in detail but says little about the meaning of the
output. Twenty years ago this could be a bit of a showstopper but now
we just google.

> ifconfig output is much easier to look at.

But much harder to parse. And ip's -o switch makes it even easier
because each item is all on one line.

Cheers,
David.


Reply to: