# vi /etc/sysconfig/network-scripts/ifcfg-ens192
# sync; reboot
-bash: ifconfig: command not found
To get the ifconfig command into our system , run the below given command:
# yum install net-tools
How I got to know net-tools package need to be installed
Using yum command with provides or whatprovides options help to give you list of package which is required for that particular command.
As per man page of yum :
provides or whatprovides
Is used to find out which package provides some feature or file. Just use a specific name or a file-glob-syntax wildcards to list the packages available or installed that provide that feature or file.
We have used the below given command to find which package provides the ifconfig command.
# yum provides ifconfig
# yum install tmux