How to install route command on CentOS / RHEL 7

https:‮ww//‬w.lautturi.com
How to install route command on CentOS / RHEL 7

The route command is included in the net-tools package on CentOS and RHEL 7. To install the route command, you can use the following steps:

  1. Install the net-tools package:
sudo yum install net-tools

This will install the route command and other network tools, such as ifconfig and netstat.

  1. Test the installation:
route -n

This will print the routing table of your system, indicating that the route command is installed and working correctly.

Created Time:2017-10-28 21:39:05  Author:lautturi