Skip to content

Instantly share code, notes, and snippets.

@mustafaturan
Created May 17, 2019 04:02
Show Gist options
  • Save mustafaturan/f7172bf976e40e3c461467e06645f1ba to your computer and use it in GitHub Desktop.
Save mustafaturan/f7172bf976e40e3c461467e06645f1ba to your computer and use it in GitHub Desktop.
List open ports with programs/pids

List open ports

Long version

netstat --tcp --listening --programs --numeric

Short version

netstat -tlpn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment