Earlier quoted context omitted.
somewhat OT: > 2. You mean (IIRC) 'ip link show'. ifconfig on linux isn't maintained, and breaks in a bunch of situations (Aliases on VLANs on bonds, for one) This seemingly simple change seems to be taking forever to gain traction; "use `ip` for network config on linux". There is so much googlable stuff instructing one to use ifconfig, route, etc. that it seems to self perpetuate. I often find people telling others…
I used ifconfig until about halfway through last year when someone pointed 'ip' out to me. I kept using ifconfig right up until the point I found that ip didn't require root rights...
Eth0 no more?
51–53 of 53 posts
Re: Eth0 no more?
#52Earlier quoted context omitted.
I agree wholeheartedly that the old tools should be hidden away, and I assume that they haven't been, because that will break more things than the actual renaming of devices. I bet even adding deprecation warnings could cause a ruckus, seeing how many times I've come across `ifconfig | something` both in scripts and people shelling out from other languages. I do wish the distros would just make a clean break, and let…
Then you just make the deprecation warning go to stderr instead of stdout. '|' only redirects stdout.
Re: Eth0 no more?
#53Earlier quoted context omitted.
I used ifconfig until about halfway through last year when someone pointed 'ip' out to me. I kept using ifconfig right up until the point I found that ip didn't require root rights...
Neither needs root privileges to display interface status. Perhaps it's a PATH issue for you - sbin/ is often left out of the PATH for regular users.
ta