32

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.

3
  • 2
    Is there anything more to it than the usual iproute2 fanboyism? Commented Apr 23, 2016 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). Commented Apr 23, 2016 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? :) Commented Aug 7, 2018 at 15:20

2 Answers 2

14

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.

6
  • 16
    Your answer is 'because it is' or 'I don't know'? Commented Apr 23, 2016 at 4:47
  • 1
    @onlyanegg, your question is "Why have I been told that it's deprecated?" or "Why did the developers decide to deprecate it?" Commented Apr 23, 2016 at 4:49
  • 4
    it is 'Why did the developers deprecate it?' Commented Apr 23, 2016 at 4:53
  • 1
    sourceforge.net/p/net-tools/code/ci/… Commented Apr 23, 2016 at 5:13
  • 12
    This doesn't answer anything. How did this get upvoted? Commented Jan 1, 2017 at 7:55

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.