5 ms·
My favorite trick with this feature is pairing it a timeout # Connection successful: $ timeout 1 bash -c 'cat < /dev/null > /dev/tcp/google.com/80' $
by oso2k 3mo ago
My favorite trick with this feature is pairing it a timeout
# Connection successful:
$ timeout 1 bash -c 'cat < /dev/null > /dev/tcp/google.com/80'
$ echo $?
0