While installing ubuntu 9.10 i set a long hostname and it is hard to keep track of it while connecting from other machines. Please help how to change hostname?
Open terminal by going to Applications->Accessories->Terminal Enter the following $ hostname (this will show your current hostname) To change, type $ hostname -b newhostname for example $ hostname -b my-ubuntu-desktop
The above change will revert once you reboot the machine. To make permanent change edit the following file using sudo gedit /etc/hostname