How to install route command on CentOS / RHEL 7

The route command is already installed and available on most Linux distributions, including CentOS and RHEL 7. To verify if it’s installed on your system, you can run the following command in the terminal:

 
route --version

If the output shows the version of the route command, it means it’s already installed on your system. If not, you can install it by running the following command:

 
yum install net-tools

After the installation is complete, you can use the route command to manage the IP routing table on your system.

(Ambien)

Leave a Comment