Shell/Bash: process runninng on particular port Example


Shell/Bash Example: This is the "process runninng on particular port" Example. compiled from many sources on the internet by

process runninng on particular port

sudo ss -lptn 'sport = :80'

linux query port use by pid

$ sudo ss -lptn 'sport = :80'
State   Local Address:Port  Peer Address:Port              
LISTEN        *:*                users:(("nginx",pid=125004,fd=12))
LISTEN  ::1:80              :::*               users:(("nginx",pid=125004,fd=11))

* Summary: This "process runninng on particular port" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!