Linux tricks, one-liners & shell magic
← Back to all tricks
Check open ports on the system

List all listening TCP/UDP ports and the process that owns them.

bash
$ # All listening sockets + process names: ss -tulnp # Or with netstat (older systems): netstat -tulnp # Check if a specific port is open: ss -tulnp | grep ':443'
netadmin992026-04-19
Delete this trick? This cannot be undone.