Change hostname without reboot Ubuntu 14.04

This is a small tutorial to help you change hostname of server without reboot the system. This will require  3 simple steps

Step 1: change hostname by command line

Step 2: edit hostname file with new hostname

Step 2: edit hosts file

Edit the line below:

It is done.