webdevRefinery Forum: Replacements for deprecated Linux networking commands (eg. ifconfig) - webdevRefinery Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Rate Topic: -----

User is offline Daniel15 

  • dan.cx
  • Group: Moderators
  • Posts: 3435
  • Joined: 17-April 10
  • LocationMelbourne, Australia
  • Expertise:HTML,CSS,PHP,Java,Javascript,Node.js,SQL

Posted 30 December 2011 - 05:24 AM (#1)

Replacements for deprecated Linux networking commands (eg. ifconfig)


https://dougvitale.w...r-replacements/

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:

Quote

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!"

Spoiler
0


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Enter your sign in name and password


Sign in options
  Or sign in with these services