Yahoo. It has changed. When i reboot will i get the hostname as lappy or that dhcppc stuff?

Regards,
Arnav Kalra
104, Sector 14
Karnal - 132001
Mobile - +91 9896961018
Home - +91 184 4030104



On Wed, May 2, 2012 at 11:04 PM, Tam Nguyen <[log in to unmask]> wrote:
If you don't want to reboot your computer, then become root and type this:
[arnav@dhcppc1 ~]$ hostname lappy

then exit your terminal and open a new terminal. 

The actual file to change your hostname is:
[arnav@dhcppc1 ~]$ vi /etc/sysconfig/network

If you edited file /etc/sysconfig/network, then you need to reboot your computer.