How to test a TCP (or UDP) remote port without telnet or netcat (in a one-liner): (google’s IP and TCP to 443) timeout 1 bash -c '</dev/tcp/216.58.207.46/443 && echo Port is open || echo Port is closed' || echo Connection timeout #shellmagic


@climagic #shellmagic Something I just recently learned: curl telnet://127.0.0.1:22 Even when telnet and netcat are not available, curl usually is.


United States Trends
Loading...

Something went wrong.


Something went wrong.