I would like to run the command ifconfig in Ubuntu running in virtual box. It ask me to run first sudo apt install net-tools but I get an error E: Unable to locate package net
Kindly let me know how to run ifconfig to find ip address.
Change the command from sudo apt install net/tools which tries to install a nonexistent package named "net" to sudo apt install net-tools
In apt the package name in a command like sudo apt install package-name must match an exact package name in the software repositories. Special characters like / are not part of package naming conventions.
Change the command from
sudo apt install net/tools
which tries to install a nonexistent package named "net" tosudo apt install net-tools
In
apt
the package name in a command likesudo apt install package-name
must match an exact package name in the software repositories. Special characters like/
are not part of package naming conventions.