UBUNTU basic networking commands

Change hostname

vi /etc/hostname
vi /etc/hosts

Restart Network

/etc/init.d/networking restart

Change IP address

nano /etc/network/interfaces

Find Ubuntu version

cat /etc/issue.net
or
cat /etc/lsb/release

Upgrade Ubuntu

apt-get update
apt-get dist-upgrade
Let's share thisShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn