Ubuntu Network One Liners

From richud.com
Jump to: navigation, search


Test Windows machine alive

Quickly see if its alive if ping blocked, w-3 second timeout, z-test only, v-verbose, XXXXXXXX-machine hostname, target port to try

$ nc -w3 -z -v XXXXXXXX 443
Connection to XXXXXXXX 443 port [tcp/https] succeeded!