The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-30-2007
namishtiwari namishtiwari is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2007
Location: Bangalore
Posts: 377
Which flavour of unix you are using.
for solaris if you want to change your prompt
echo $PS1 will tell you the prompt.
you neet to type
PS1=#
or
PS1=@

or
PS1="`hostname`{`logname`}"
whatever you want.Then execute the coomads whichever you want.

then press ^d you will be taken out of that shell.
you will again prompt to the original shell.

Thanks
Namish