More than 5 years have passed since last update.
echo -n "" > /dev/tcp/[IP or Url]/[Port]
このコマンドで簡単に疎通確認ができます。
通っていたら、コマンドの実行が終了します。
逆に終了しなかったら、通っていないということです。
グーグルでやってみました。
echo -n "" > /dev/tcp/www.google.jp/80
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
