Change Linux networking from command line

Change Hostname and/or IP Address both temporarily and permanently

http://www.thegeekstuff.com/2013/10/change-hostname-ip-address/

 

Using vi to modify text files in Linux

sudo vi /etc/hosts

Wait for file to be displayed; navigate file using arrow keys.

Use i to enter edit mode and Escape to exit edit mode.

Use :wq! <enter> to save and close.

Use :q! <enter> to close without saving.

 

Advertisements

Configure network on Lexmark E120

Press Continue button to print current network config page.

Join PC to same IP network as printer and connect to printer’s IP address using Telnet to port 9000.

Use menu options to configure IP settings. Press X to exit menus and out and save settings when prompted.