mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 16:35:28 +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:
parent
7ca686634d
commit
c9063d15b9
1 changed files with 12 additions and 8 deletions
|
@ -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…
Add table
Reference in a new issue