1.概述
转载:https://my.oschina.net/solate/blog/1475270
使用telnet 测试连接是否联通,使用 ctrl+c 出现不退出的情况
解决: 使用 ctrl+] , 然后在telnet 命令行输入 quit ,退出成功
[root@zdh142 utils]# telnet redis_host 16379
Trying xxx...
Connected to xxx.
Escape character is '^]'.
^C
`, with args beginning with:
^C^C^C^C^C^C^C^C^C
`, with args beginning with:
^]
telnet> quit
Connection closed.
[root@zdh142 utils]#