|
|
|
|
|
by ominous_prime
5588 days ago
|
|
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 that "you can't do that in Linux", when the real answer is along the lines of "you can't do that with the route command" (to give an example that I've seen a few times recently, route can't manipulate routing tables) |
|
If you're going to deprecate a command, make running the old one either:
1. Not exist, and thus have the shell throw an "command not found" error
2. Print a useful message like "Use <newcommand> instead"
3. Work, but do #2 as well.
The current situation is like leaving a pair of rusty pliers out in the open, and hiding the brand new socket set when the goal is tightening a bunch of bolts.