Changing host name of Linux server
To change the host name of current session use
To change the host name permanently use
/bin/hostname your-host-name
/etc/hostname /etc/init.d/hostname.sh start