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

Re: any utility to change ip



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.

> >>As for shorter to type - 8 characters vs. 4 characters?
> >
> >   $ echo ifconfig | wc -c
> >   9
> >
> >   $ echo ip a | wc -c
> >   5
> 
> You'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.

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

Attachment: signature.asc
Description: Digital signature


Reply to: