Thanks. I tried editing the file and saved it but when i open the terminal it shows the user as arnav@dhcppc0 even though i have set the hostname as lappy. Regards, Arnav Kalra 104, Sector 14 Karnal - 132001 Mobile - +91 9896961018 Home - +91 184 4030104 On Wed, May 2, 2012 at 7:40 PM, Andras Horvath <[log in to unmask]> wrote: > man hostname > > vi /etc/hosts > 127.0.0.1 myhostname > > vi /etc/sysconfig/network > HOSTNAME=myhostname > > > On Wed, 2 May 2012 19:07:41 +0530 > Arnav Kalra <[log in to unmask]> wrote: > > > I want to change the hostname of my laptop running sl 6.2 32 bit. How > > do i change it? > > > > Regards, > > Arnav (tanoshii kai) > > 104, Sector 14 > > Karnal - 132001 > > Mobile - +91 9896961018 > > Home - +91 184 4030104 >