SCIENTIFIC-LINUX-USERS Archives

May 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Arnav Kalra <[log in to unmask]>
Reply To:
Arnav Kalra <[log in to unmask]>
Date:
Wed, 2 May 2012 22:29:16 +0530
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (741 bytes) , text/html (1392 bytes)
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
>


ATOM RSS1 RSS2