Jump to content


Replacements for deprecated Linux networking commands (eg. ifconfig)

- - - - -

  • Please log in to reply
No replies to this topic




  • Moderators
  • 3,761 posts
  • Joined: 17-April 10
  • LocationMountain View, CA
  • Expertise:HTML, CSS, PHP, Java, Javascript, Node.js, SQL

Deprecated command     Replacement command(s)
arp                    ip n (ip neighbor)
ifconfig               ip a (ip addr), ip link, ip -s (ip -stats)
iptunnel               ip tunnel
iwconfig               iw
nameif                 ip link, ifrename
netstat                ss, ip route (for netstat-r), ip -s link (for netstat -i), ip maddr (for netstat-g)
route                  ip r (ip route)
And there's a lot more commands and their equivalent listed at the link.

Some discussion on Reddit at http://www.reddit.co...nds_and_their/. I've encountered this issue before:

ifconfig is another zombie that is horribly broken. You just realise this after you lose 2 hours of work debugging some network problem because ifconfig was giving you plainly wrong information. For once, add multiple IPv4 address to an interface without aliases and ifconfig simply wont show the addresses at all.

Daniel15! :D
Posted Image

Repeat after me: jQuery is not JavaScript. It is not the answer to every JavaScript-related question. When you have to write some JavaScript, do not instantly react with "Oh, I'll do that with jQuery!"


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users