The Computer Oracle

How do I exit telnet?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 3

--

Chapters
00:00 How Do I Exit Telnet?
00:15 Accepted Answer Score 707
00:34 Answer 2 Score 166
00:43 Answer 3 Score 66
01:52 Answer 4 Score 10
02:08 Answer 5 Score 3
02:18 Thank you

--

Full question
https://superuser.com/questions/486496/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #telnet

#avk47



ACCEPTED ANSWER

Score 707


It should have printed something along the lines of:

Escape character is '^]'.

Since ^X is CtrlX, try Ctrl] for ^].

You should then enter the telnet console, where you can enter quit to leave telnet.




ANSWER 2

Score 166


Type quit to exit telnet in windows.




ANSWER 3

Score 66


The ^] means ctrl + right bracket. As strange as that is, it works. You'll be taken to the telnet prompt, where you can type quit or simply q.

On international keyboards the ] character is often not a single key, and needs to be replaced with some other key. The correct key is typically the key to the right of P or the next key after that.

Here's a list based on comments below:

  • Norwegian: ctrl + å
  • Danish, Finnish, and Swedish: ctrl + ¨ [added by Fredrik C]
  • French: ctrl + 6
  • German, Turkish: ctrl + ü
  • Swiss: ctrl + ¨
  • Hungarian: ctrl + 5 or ctrl + ú
  • Portuguese: ctrl + ´
  • Dutch, Belgian: ctrl + $
  • Canadian French: ctrl + ç
  • Italian: ctrl + +

Quote from @jtbandes answer here: https://superuser.com/a/427/192525 All creds to him.

PS: Answer reproduced here for your convenience, since google took me to this question first, and none of the other answers here was sufficient for my case. The question How to send the escape character on OS X terminal? could be seen as a duplicate (more generic version) of this question, since the OP's problems are basically the same.




ANSWER 4

Score 10


On debian 9, typing :

Ctrl + $

Allows you to show the prompt from telnet, then only type :

q

To exit




ANSWER 5

Score 3


all previous answers correct but for this worked:

Ctrl + ]

then I typed

quit