Ubuntu – Change Computer Name

November 17, 2009 at 10:45 | In Linux | Leave a Comment
Tags: ,

When u ssh to a Linux, you see <username>@<ComputerName>.

ykyuen@ubuntu:~$

If u want to change the computer name says, ubuntu to linux. what u need to do is edit the computer name in /etc/hostname and restart the Ubuntu.

In addition, don’t forget to replace the old hostname in /etc/hosts.

Done =)

No Comments Yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.