1835947 Members
2628 Online
110088 Solutions
New Discussion

shel

 
arun m govind
Frequent Advisor

shel

hi
in my hp system after login the prompt is #.i want to change to hp-ux>.how can i do that???
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: shel

In your .profile file, put the following:

export PS!="hp-ux> "


Pete

Pete
Robert-Jan Goossens
Honored Contributor

Re: shel

Hi,

Edit your $HOME/.profile and add these lines.

PS1="HP-UX$PWD =>"
export PS1

Regards,
Robert-Jan
Pete Randall
Outstanding Contributor

Re: shel

Arrrrgh! I am not awake this morning.

I said "PS!" - obviously that should have been "PS1" - I still had the shift key down.


Pete

Pete
spex
Honored Contributor

Re: shel

Hi,

# PS1="hp-ux>" && export PS1

Add to/modify ~/.profile of users to receive the change.

PCS