Usage
Type the following command from the terminal prompt. If you are using a distro other than Ubuntu, make sure that your user account has sudo permissions, otherwise you might have to use su to switch to root before entering the command.
Output:
You can restart networking if you are having problems by using the following command: