Friday, April 22, 2022
Thursday, April 21, 2022
ifconfig command not working in Ubuntu
The "ifconfig" command is used to get network related details of the Ubuntu/Linux based machines. This is a package which comes with the system default but sometimes it does not works.
If you are getting below error:
It means the package is missing.
So it need to install. To install it run the below command:
sudo apt install net-tools
With sudo it may ask you for the password. So enter the password. In this snapshot it does not asked for the password as I have already executed some sudo command within a minute. If you executed sudo command continuously it does not ask for the password in short span of time. But if you run the command after 5 minutes then it will the password again.
After that when you run the ifconfig command then it will show the network details as below:
Subscribe to:
Posts (Atom)