Changing hostname/computer name on Ubuntu

At work I changed from “ricky-desktop” to “ricky-work” (to avoid confusion with my home PC) and now I’m going to change it again to “rickyw” to avoid redundancy (everyone at work [who actually looks] sees me as “ricky-work” which is redundant. Might as well change it to my username.)

Edit /etc/hostname
hostname rickyw
Edit /etc/hosts
service start
I think that’s all, but I may be wrong. (Why is this process so complicated?)

Any existing windows that you have open will have their title appended with “on oldname” because they were started with the old hostname. Any new windows come out normally, it seems.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: