Skip to content

Instantly share code, notes, and snippets.

@goddoe
Created July 27, 2018 03:04
Show Gist options
  • Select an option

  • Save goddoe/cff76d8cb4ffdaf4a3588a10d8427a74 to your computer and use it in GitHub Desktop.

Select an option

Save goddoe/cff76d8cb4ffdaf4a3588a10d8427a74 to your computer and use it in GitHub Desktop.
check open port
# -l = only services which are listening on some port
# -n = show port number, don't try to resolve the service name
# -t = tcp ports
# -u = udp ports
# -p = name of the program
netstat -lntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment