Investigate Sockets when Working with Linux System

If you do work with Linux Servers or Linux Systems like me, you must have heard about the command “ss“. If you are not sure, you might know “netstat“. Netstat is obsolete now. The features it provided now can be obtained or achieved by “ss” and some other commands.
If you check the man page of Netstat you will find these lines.

This program is mostly 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.

You can also find some replacements table from this google spreadsheet link.

I am not going to talk about the legacy command of “netstat“. The purpose of this article will be about “ss“.

Continue reading Investigate Sockets when Working with Linux System