1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 20:35:34 +02:00

telnet: improve descriptions (#1353)

* telnet: improve descriptions

also format "x" as a token in the last example.

* telnet: update per code review
This commit is contained in:
Waldir Pimenta 2017-05-04 20:50:30 +01:00 committed by Starbeamrainbowlabs
parent 7ca686634d
commit c9063d15b9

View file

@ -1,19 +1,23 @@
# telnet # 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` `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}}`