Telnet command is a valuable tool for any network or system administrator. It allows for troubleshooting and manipulation of various services.

The telnet package is not installed by default on RHEL 8 server but can be easily installed by using the dnf command.

In this tutorial you will learn:
  • How to install Telnet on RHEL 8.
  • How to use telnet command to connect to a specific port.
Telnet command on Red Hat Enterprise Linux 8.
Telnet command on Red Hat Enterprise Linux 8.

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Red Hat Enterprise Linux 8
Software N/A
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

How to install telnet command in RHEL 8 step by step instructions



  1. Use the dnf command to install the telnet package:
    # dnf install telnet
    
  2. Use the telnet command to connect to a host with the IP address 8.8.8.8 on port 53:
    $ telnet 8.8.8.8 53
    
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:



Comments and Discussions