Wednesday, November 24, 2010

How do I change the comuter name (Identification name) in linux ?

In network (LAN) I find my computer has a default name like (HP500 U) but I don't find any option to change the name .

My computer's O.S. is %26quot; Fedora core 2 (red hat linux)%26quot;How do I change the comuter name (Identification name) in linux ?
with the command %26quot; hostname _your_host_ name_ %26quot;.

logout nad login again you will find changes.How do I change the comuter name (Identification name) in linux ?
You should be able to just edit the /etc/hostname file

Most distributions will have a runtime script for the startup runlevel (usually runlevel 3, depends on your distribution) that will read this file and set it accordingly at boot time.