[arch-general] [arch-dev-public] [signoff] coreutils-8.12-2, initscripts-2011.06.3-1, net-tools-1.60-16, udev-171-2, yp-tools-2.12-2, ypbind-mt-1.33-2, iproute2-2.6.38-3

Rogutės Sparnuotos rogutes at googlemail.com
Wed Jun 8 18:57:14 EDT 2011


Tom Gundersen (2011-06-08 16:54):
> On Wed, Jun 8, 2011 at 3:30 PM, Mauro Santos <registo.mailling at gmail.com> wrote:
> > On 07-06-2011 22:46, Patrick Burroughs wrote:
> >
> >> The new replacement for ifconfig is 'ip'; 'ip link show' is equivalent
> >> to the old 'ifconfig', without arguments.
> >
> > I don't see the current assigned IP when doing 'ip link show' so I don't
> > see how that is equivalent to using only ifconfig without arguments.
> >
> > As a side note, at first glance it seems 'ip' needs a lot more typing
> > than ifconfig needs, at least for the stuff I use more often.
> 
> You should use just use "ip addr" rather than "ifconfig" (which saves
> you one character ;-) ).
> 
> -t

Or, rather, 
"ip a" for addreses and link status (like /sbin/ifconfig)
"ip r" for routes (like /sbin/route)

-- 
--  Rogutės Sparnuotos


More information about the arch-general mailing list