Skip to content

Instantly share code, notes, and snippets.

@oliveira-andre
Created February 23, 2021 19:59
Show Gist options
  • Select an option

  • Save oliveira-andre/10703c30a8e9fe2c67c041a314860a1e to your computer and use it in GitHub Desktop.

Select an option

Save oliveira-andre/10703c30a8e9fe2c67c041a314860a1e to your computer and use it in GitHub Desktop.

Netstat

get information from network connections, router tables, static interfaces and masquerade connections

Basic usage

netstat -n

Get only existent machine connections

netstat -an

Get TCP connections

netstat -ant

Get TCP and UDP connections

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