New answers tagged

1

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 ...


-2

This is best command I found to get the process id using port number: sudo netstat -lpn |grep :9997



Top 50 recent answers are included