我们经常用telnet命令来测试一个端口,但是之后怎么断开连接?

 [root@centos03 ~]# telnet 10.0.0.91 389
Trying 10.0.0.91...
Connected to auth.baike.com (10.0.0.91).
Escape character is '^]'.
quit
^]
telnet> quit
Connection closed.

解答:当我们使用telnet连接上之后就退不出来了ctrl+c也都不管用此时可以ctl+] 切换 然后quit退出