3 ms·
nc generally provides more verbosity with -v and other options. nc -v itself is pretty much telnet as far as TCP connections go (TELNET is itself another proto
by runjake 4y ago
nc generally provides more verbosity with -v and other options.
nc -v itself is pretty much telnet as far as TCP connections go (TELNET is itself another protocol on top of TCP).
In fact on macOS, I alias telnet=’nc -v’.
Anyway my intent wasn’t to directly challenge your method, this is just a more shell-independent and universal method of doing the same.