Ubuntu Equivalent of IPconfig
Easily view the network settings in Ubuntu, along the lines of the windows ipconfig /all command.
The problem is that there is not one command in Ubuntu as all encompassing as the windows IPconfig command. So here is a list of various ubuntu commands that are equivalent to the various options of IPconfig.
To view basic network settings:
Windows: ipconfig | Ubuntu: ifconfig |
To renew your network settings:
Windows:ipconfig /release | Ubuntu: sudo dhclient |
To view your gateway:
Windows:ipconfig /all | Ubuntu: sudo route |
To view your DNS settings:
| Windows:ipconfig /all | Ubuntu: cat /etc/resolv.conf |