How to exit the telnet service in Linux?

To exit telnet service in Linux, you can follow these steps:

  1. telnet to the IP address and port number
  2. Press Ctrl + ] to enter the telnet command prompt.
  3. Enter the “quit” or “exit” command at the prompt.
  4. Pressing the Enter key will exit the telnet session.

This successfully exits the telnet service.

bannerAds