Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Change computer name of an Ubuntu desktop computer

I have a system and don't like the user sees the Ubuntu name while system is shutting down(i replaced the splash when starting)

I want to know how can i Change my Ubuntu name in console (you can see by pressing ctrl+alt+F1) from UBUNTU to something else.

share|improve this question

migrated from Jan 2 '10 at 19:37

This question came from our site for professional and enthusiast programmers.

marked as duplicate by BinaryMisfit Jan 2 '10 at 21:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

This isn't code related. Try – avpx Jan 2 '10 at 19:34
Duplicate of… – pcapademic Jan 2 '10 at 20:13
  • Edit /etc/hostname with your editor of choice:
sudo vi /etc/hostname

save the file with your new hostname.

  • You should also edit the hosts file:
sudo vi /etc/hosts

in there you will see the old hostname which may look something like this:        oldhostname

change it so it looks like this, then save and exit:        newhostname

restart the hostname service:

sudo /etc/init.d/ restart
share|improve this answer

Copied from the original; migration appears to have bugged out at the precise second I submitted:

Take a look at the hostname command. You might also need to tweak, e.g. /etc/hosts.

share|improve this answer

Change the hostname value:

hostname "newservername"

in the /etc/hostname to make it survive reboots.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .