Mailinglist Archive: opensuse (1276 mails)
|< Previous||Next >|
Re: [opensuse] ipconfrig--where?
- From: Adam Tauno Williams <awilliam@xxxxxxxxxxxxxxxx>
- Date: Thu, 01 Oct 2009 15:47:07 -0400
- Message-id: <1254426427.5024.14.camel@linux-m3mt>
In this case it would take very little effort from one of the gurus to make
the grumpy third or two thirds smile
Grumpy, and vocal, 2 - 5%
if ip outputs at least the same info as
ifconfig on a simple call. Probably it would take less time than arguing
Do not script around ifconfig. It has been deprecated - right there in
the man page - for almost a decade. In fact, don't script around any
utilities at all. If you need to script just read /sys - those are just
files, way easier to script with. Want the number of collisions from
cat /sys/class/net/eth0/statistics/collisions 0
In fact, since ip does nothing without parameters, simply having it default
to ifconfig output (character for character identical) would make sense.
"ip" is not "ifconfig"
The backbone of 'Nix systems is small fast command line utilities that can
be aggregated, built upon, and invoked from everywhere.
I just don't except that "small fast command line utilities" is the
backbone of anything. A very solid argument could be made that UNIX is
great despite being burdened with a shattered train wreck of
$ ls /usr/bin | wc -l
For crying out loud! Just cause you know it doesn't make is smart,
efficient, or elegant. There is nothing what-so-ever "elegant" about
the UNIX shell; you can do a lot of cool stuff, that doesn't mean it
isn't a mess.
When people start replacing these with "new and improved" utilities with
not so much as a thought to backward compatibility they break things
in places they don't even know about.
ifconfig still works! Even after people have been warned for almost a
The vast majority of use of ifconfig (and ipconfig in windows) is just
to get a fast snapshot of the interfaces, their state, IPs Gateways, etc.
The great majority of users will just right-click on Network Manager.
If you know to go run /sbin/ifconfig then you are plenty smart enough to
go run "ip addr" instead.
The naked command should do this rather than showing not enough help
to be helpful.
I go back to my if-you-already-know-enough... this doesn't matter.
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
|< Previous||Next >|