From c9063d15b94451100df980be7934e433ba9b0959 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Thu, 4 May 2017 20:50:30 +0100 Subject: [PATCH] telnet: improve descriptions (#1353) * telnet: improve descriptions also format "x" as a token in the last example. * telnet: update per code review --- pages/common/telnet.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/pages/common/telnet.md b/pages/common/telnet.md index 3eac87ee09..c919c708c7 100644 --- a/pages/common/telnet.md +++ b/pages/common/telnet.md @@ -1,19 +1,23 @@ # telnet -> Telnet is used to connect to a specified port of a host. +> Connect to a specified port of a host using the telnet protocol. -- Telnet to a certain port: +- Telnet to the default port of a host: -`telnet {{ip_address}} {{port}}` +`telnel {{host}}` -- To exit a telnet session: +- Telnet to a specific port of a host: + +`telnet {{ip_address}} {{port}}` + +- Exit a telnet session: `quit` -- Default escape character: +- Emit the default escape character combination for terminating the session: -`CTRL + ]` +`Ctrl + ]` -- Specify an escape character (x is the escape character): +- Start telnet with "x" as the session termination character: -`telnet -e x {{ip_address}} {{port}}` +`telnet -e {{x}} {{ip_address}} {{port}}`