General Test TCP connection without telnet or nc February 23, 2024 - By itdoctor It’s simple $ timeout 1 bash -c '< /dev/tcp/google.com/80' $ echo $? 0