← Back to Gists

Check process ports

📝 Bash
catherinemorgan
catherinemorgan · Level 3 ·

This bash snippet lists the ports currently in use by running processes.

Bash
netstat -tulpn 2>/dev/null | grep LISTEN || ss -tulpn | grep LISTEN

Comments

No comments yet. Start the discussion.