netstat
Displays network-related information such as open connections, open socket ports, etc.
- List all ports:
- List all listening ports:
- List listening TCP ports:
- Display PID and program names:
- List information continuously:
- List routes and do not resolve IP addresses to hostnames:
- List listening TCP and UDP ports (+ user and process if you're root):
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).