DEV Community

Discussion on: Linux Commands for Developers

Collapse
 
kevinschweikert profile image
Kevin Schweikert

Instead of ifconfig -a it's better to use the newer command ip a

Collapse
 
pahosler profile image
pahosler

ip is useful, but ifconfig is much more readable not to mention after decades of use I tend to use it reflexively.

Collapse
 
cocoonkid profile image
cocoonkid

same here but ifconfig does omit certain informations that ip shows you. I force myself to switch too :-)

Collapse
 
peter279k profile image
peter279k • Edited

ifconfig command is too old and it should use ip address command instead.

Collapse
 
ptuladhar3 profile image
Puru

That's right Kevin. I've updated with ip command. Thanks!