MD5 Implemented in Bash
youtube.com3 ポイント投稿者 HeadlessChild2 コメント
timeout 5s bash -c "echo >/dev/tcp/google.com/443" && echo "port open" || echo "port closed"
This uses the timeout command from coreutils though, so it is not a pure bash implementation.