mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-11 12:05:35 +03: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:
parent
7ca686634d
commit
c9063d15b9
@ -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}}`
|
||||
|
Loading…
Reference in New Issue
Block a user