Please note that here I am using root user to run all the below commands. You can check all the network interface details by using ip addr sh command. Instead its successor ip command is available now. While it is very common to get "-bash: ifconfig: command not found" error in CentOS/ Redhat 7/8 due to the reason that ifconfig command is not available by default. Solved "-bash: ifconfig: command not found" error Still if you want to use ifconfig command then you need to follow below given instructions. Instead ip command is available to check network interface details and to perform other Linux networking operations. This is due to the reason that ifconfig command is deprecated from CentOS/RedHat 7 onwards. But the same if you try to do from CentOS/Redhat 7 onwards then you will end up getting the same error as this tool will not be available. If you are using CentOS/Redhat from long time then you might be used to ifconfig command to check and troubleshoot Linux network issues. In this article, we will see how to solve "-bash: ifconfig: command not found" error in CentOS/Redhat 7/8.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |