http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
It's not too hard. Use the following command in a terminal:
This will set the hostname to your-new-name until you restart. See Note After a restart your changes in
(or some other editor) so that file contains the hostname. You should also edit
so that it now contains your new hostname. (This is required otherwise many commands will cease functioning.) |