How to display sockets summary and all open network ports with ss command

How to display sockets summary with ss command

# ss -s

How to display all open network ports with ss command on Linux

# ss -l

Type the following to see process named using open socket:
# ss -pl
Find out who is responsible for opening socket / port # 4352 using the ss command and grep command:
# ss -lp | grep 4352

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Installing Fail2ban

  Installing Fail2ban Installing Fail2ban on Ubuntu Server 16.04 is simple. Run the following...

How to find a folder in Linux using the command line

  I am a new Linux user. How do I find files and folders in Linux using the bash command line?...

How to scan for viruses with ClamAV on Ubuntu

ClamAV There aren't many viruses made for Linux distributions and as such, most people who use...

How to setup a UFW firewall on Ubuntu 18.04 LTS server

How do I setup a firewall with UFW (uncomplicated firewall) on an Ubuntu Linux 18.04 LTS server...

How to tar a file in Linux using command line

How to tar a file in Linux using command line I am a new Linux user. How can I create a tar file...