Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-31-2004, 09:48 AM   #1
Registered: May 2002
Posts: 401

Rep: Reputation: 30
Escape character ?


today I telnet to another server on port 25. Irecuved the following:

[root@juanbox root]# telnet 25
Connected to (
Escape character is '^]'.

after I tested some commands I wanted to get out bot I didnt knew how.

what is this Escape character ? how to use it ?

Old 08-31-2004, 10:01 AM   #2
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Whenever you see '^]' or any variation thereof ie '^C' '^V' '^Z' '^D' etc etc it means it is a control sequence, ie: hold Ctrl and hit the corresponding key.
The escape sequence for telnet is ^] or Ctrl+] (hold Ctrl and hit ]) and it should kill your telnet session.
Old 08-31-2004, 11:03 AM   #3
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Hitting CTRL and ] should bring you to a "telnet>" prompt where you can pass commands (ie quit and status).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i escape a / ??? Fascistchicken Linux - General 10 09-12-2004 12:28 PM
Escape! Wind0wR3fuge Linux - Newbie 6 07-11-2004 04:00 AM
Escape character not working in shell script philipz Programming 1 04-29-2004 10:58 AM
The Great Escape Treefrog Linux - Software 6 11-11-2003 07:56 AM
disable escape def1014 Linux - Security 1 04-16-2002 05:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration