escape character is '^ '. telnet linux code example
Example 1: how to exit telnet linux
The trick here is you need to first type escape character e.g. '^]' which is 'Ctrl + ]' and then type quit to close the telnet terminal in Linux or any UNIX system.Jan 26, 2019
Example 2: exit telnet
#Ctrl+C doesn't work, you should ctrl+] but the most easy way
#is just type "quit" and enter
quit