[illumos-Developer] making -a default for ifconfig?

Alasdair Lumsden alasdairrr at gmail.com
Sun May 29 14:21:13 PDT 2011


Hi Alexy,

On 29 May 2011, at 21:11, Alexey Zaytsev wrote:
> Just a random proposal.
> How about we make ifconfig display the plumbed interfaces by default,
> instead of just showing the usage?
> I know that it's been this way for ages, and it's the same in BSD, but
> it's just something that's been bugging me in BSD, and now in illumos.
> And we don't expect any scripts to break, right?

+1

Regarding scripts, what about checking to see if the parent process has a tty?

I'd say the same of "ping -s" being the default. I (and no doubt many others) often use ping as a quick way to simultaneously check if a host is up, and what its IP address is. Knowing whether its alive or not is not terribly useful, -s gives you that + more info.

Cheers,

Alasdair


More information about the Developer mailing list