Tweet de Miguel Ferreira (@miguel_f), à 10 août à 21:32 samedi 11 août 2018 à 01:03 Pas bête ! 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 — Permalink