This article related to telnet terminate session many times we use command line telnet to check and access different service but somehow we want to terminate the telnet session then it will not terminate like other command Ctrl +C.
For this, We need to perform a simple shortcut like below
To Terminate the telnet session on linux
1. type Ctrl + ] on your keyboard and hit enter, and see "telnet>" command prompt
2. just type other command or to close session type "close" keyword and hit enter
It will close the telnet current session.