Re: How to set the server name

From: Vithya Balraj (bvithya@gmail.com)
Date: Mon Oct 01 2007 - 10:23:52 EDT


Great, Thanks Sir, Now its working..

Thanks to everyone for guiding me..

Vithya.

On 10/1/07, peter.van.gemert@accenture.com <peter.van.gemert@accenture.com>
wrote:
>
> Hi,
>
> You use the PS1 variable to set the prompt for your shell.
>
> You could do something simple like:
> # PS1='server1 # '
> server1 # export PS1
>
> To have this prompt setup on each login you have to put these two lines
> in your .profile.
>
> Greetings,
> Peter
>
>
> [Amersfoort, Netherlands]
>
> :wq!
>
> -------------------------
>
> Peter A. van Gemert
> Accenture Learning
>
> Solaris, Perl Education Specialist
>
> Fax +31 (0)33 455 55 99
> Mobile +31 (0)6 513 4 11 11
> Email peter.van.gemert@accenture.com
> Aim PeterVolumeGroup
>
> >-----Original Message-----
> >From: sunmanagers-bounces@sunmanagers.org
> >[mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Vithya Balraj
> >Sent: maandag 1 oktober 2007 15:53
> >To: sunmanagers@sunmanagers.org
> >Subject: How to set the server name
> >
> >Hi Sun Gurus,
> >I am in need of your help, I have recently installed solaris
> >10 as a virtual machine in my PC.
> >Would request you to kindly let me know on how to make the
> >server prompt with the server name.(ex: server1)
> >
> ># uname -a
> >SunOS *server1* 5.10 Generic_118855-33 i86pc i386 i86pc #
> >
> >Currently:
> >Last login: Mon Oct 1 18:22:50 from 20.6.25.160
> >Sun Microsystems Inc. SunOS 5.10 Generic January 2005
> >*#*
> >
> >but I need to prompt as below:
> > Last login: Mon Oct 1 18:22:50 from 20.6.25.160
> >Sun Microsystems Inc. SunOS 5.10 Generic January 2005
> >*server1#*
> >
> >Please advice.
> >
> >Thanks
> >--
> >Regards
> >Vithya
> >_______________________________________________
> >sunmanagers mailing list
> >sunmanagers@sunmanagers.org
> >http://www.sunmanagers.org/mailman/listinfo/sunmanagers
> >
>
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the email by you is prohibited.
>

-- 
Regards
Vithya
GIS - MCS - Unix
Computer Sciences Corporation
Chennai.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:23 EDT