20

I've heard many times now that it is, and I'm mostly using ss now. But I sometimes get frustrated with differences between the two, and I would love some insight.

Also, I can't be the only one who thinks of Hitler when using ss. Not a great name.

closed as primarily opinion-based by Stephen Rauch, GAD3R, Rui F Ribeiro, Kusalananda, Scott Aug 21 '17 at 20:08

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Is there anything more to it than the usual iproute2 fanboyism? – Gilles Apr 23 '16 at 0:18
  • 3
    I agree that ss feels a bit clunky compared to netstat, but ip has always seemed way better than ifconfig (just an opinion). – jordanm Apr 23 '16 at 3:01
  • It may not be strictly SEesque, but thanks @jordanm for answering the question(s), "What? it is? Well what do I use instead? :) – fbicknel Aug 7 '18 at 15:20
7

Found an article on deprecation from 2011. It seems like the whole net-tools package was not maintained for a while and so it was deprecated. In Debian 9 it is not even installed by default. From the project page it seems like there were no updates at least since 2011.

But you can easily install netstat (and e.g. ifconfig) and keep using them. I would probably only use them for listing stuff though.

Installing on Debian 9:

apt-get install net-tools

PS: For more information you might want to see another Q&A about ifconfig deprecation (ifconfig is part of the same package): https://serverfault.com/questions/458628/should-i-quit-using-ifconfig

2

Why is netstat deprecated? Because it says so in the man page:

NOTE
   This program is obsolete.  Replacement for netstat is ss.   Replacement
   for  netstat -r is ip route.  Replacement for netstat -i is ip -s link.
   Replacement for netstat -g is ip maddr.

Why did the developers deprecate netstat? I don't know.

It's open source, though. If you want to revive it, make it more useful and get it "undeprecated," feel free to do so.

  • 8
    Your answer is 'because it is' or 'I don't know'? – onlyanegg Apr 23 '16 at 4:47
  • @onlyanegg, your question is "Why have I been told that it's deprecated?" or "Why did the developers decide to deprecate it?" – Wildcard Apr 23 '16 at 4:49
  • 3
    it is 'Why did the developers deprecate it?' – onlyanegg Apr 23 '16 at 4:53
  • 1
  • 6
    This doesn't answer anything. How did this get upvoted? – bshacklett Jan 1 '17 at 7:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.