Linux Commands Helper
💬 Your AI-powered Linux assistant
ss Command - Socket Statistics
The ss command is used to dump socket statistics and displays information similar to netstat
. It is faster and provides more detailed network connection information.
Syntax
ss [options]
Examples
ss -tuln
Show all listening TCP and UDP sockets with numeric addresses.
ss -s
Display summary statistics.
ss -p
Show process using each socket.
Notes
- ss is considered a modern replacement for netstat.
- Useful for troubleshooting network issues and monitoring connections.
- Requires root privileges for some options to see all sockets and processes.