On 9/20/2013 1:43 PM, Bob Proulx wrote:
Jerry Stuckle wrote:Bob Proulx wrote:Now of course you might say that you never use those so this is no problem for you. But ifupdown and other tools do and so in general when looking at any random system there isn't a way to know if those are going to be in use or not. Therefore one must be at least aware of 'ip' in order to be able to dump and debug such configurations.If you don't use those features (and most people don't), who cares about them? Sure, ifupdown and other tools use them - IF YOU USE THEM. But if not, it's immaterial.Except that it isn't immaterial when it happens to be configured. And when people have things screwed up they don't know what they don't know. I have helped people who were following cutting and pasting of various snippets found on the net and they swore they hadn't done anything except they had configured exactly this problem. And because they were only using ifconfig they were blind to the problem. And I dare say that ifupdown is a very heavily used tool.
Sure, if people blindly cut/paste snippets without knowing what they are doing, it's hard telling what they have screwed up.
And even though ifupdown is a very heavily used tool, if you're not using those features, it is immaterial.
As for shorter to type - 8 characters vs. 4 characters?$ echo ifconfig | wc -c 9 $ echo ip a | wc -c 5You're counting an extra space which is not required.What extra space? The one between "ip" and "a"? That isn't extra. It is a required keystroke. It does not work without it.
Please show me how the characters string "ip a" comes out to 5 characters. I count 4.
But even though I counted them out I don't think this is golf. The shortest number of keystrokes is not a very useful measure to the touch typist. Bob
But not everyone is a touch typist, either. There are a lot of "poke and hope" people out there.