Skip to content

Instantly share code, notes, and snippets.

@mustafaturan
Created May 17, 2019 04:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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