Hacker News new | ask | show | jobs
by jaster 3169 days ago
fyi: you can shorten ""ip link set $device up"" to "ip l s $device up" (same for all ip commands, e.g. "ip address" can be shortened to "ip addr" or simply "ip a")
1 comments

Yeah but please don't.... or at least don't create documentation or guides with the abbreviations.
To be honest, I didn't even know "addr" was short for address. When I was first taught iproute2 in 2007, I was told that the command was "ip addr" (and I'm fairly sure the very first iproute2 command I ever typed was "ip addr show").