Skip to content

Instantly share code, notes, and snippets.

@nuada
Last active May 13, 2019 14:59
Show Gist options
  • Save nuada/30bd131cb3677f61d5015d44f4703392 to your computer and use it in GitHub Desktop.
Save nuada/30bd131cb3677f61d5015d44f4703392 to your computer and use it in GitHub Desktop.
List listening TCP ports, equivalent of `netstat -tpln`
lsof -n -P -iTCP -sTCP:LISTEN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment