$
vpp
.dk
Linux tricks, one-liners & shell magic
All Tricks
WP Admin
← 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'
netadmin99
2026-04-19
Networking
System Info
✎ Edit
🗑 Delete
Delete this trick?
This cannot be undone.
Yes, delete
Cancel
Title
*
Description
List all listening TCP/UDP ports and the process that owns them.
Code Snippet
*
# 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'
Your name / handle
Categories
Disk & Storage
File Management
Networking
Process Management
Scripting
SSH & Remote
System Info
Text Processing
✓ Save
Cancel