linux中telnet后退出连接窗口的方法?
linux中telnet后退出连接窗口
[root@a cron]# telnet www.baidu.com 80
Trying 115.239.211.112...
Connected to www.baidu.com. #显示connected,表示连接成功!
Escape character is '^]'.
^C^C^C^Z^Z^Z #按ctrl+c,ctrl+z,ctrl+D都不行,
Connection closed by foreign host.
[root@a cron]# telnet www.baidu.com 80
Trying 115.239.211.112...
Connected to www.baidu.com.
Escape character is '^]'.
HTTP/1.1 400 Bad Request
Connection closed by foreign host.
退出命令是ctrl+]后,输入quit退出
[root@a cron]# telnet www.bai.com 80
Trying 112.90.154.3...
Connected to www.bai.com.
Escape character is '^]'.
^] #按ctrl+]
telnet> quit
Connection closed.
作者:Cherry_梅 出处:http://www.cnblogs.com/itqingtian/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。