# timout_second:超时时间,秒
# host: 域名
# port: 端口
echo -e '\x1dclose\x0d' | timeout --signal=9 {timout_second} telnet {host} {port}
telnet成功或者超时自动退出
最新推荐文章于 2024-06-17 16:55:48 发布
这段内容描述了如何通过shell命令`echo-e 'x1dclosex0d'|timeout --signal=9 {timeout_second}
2598





