How to change prompt in ksh??
sivesh pradhaan
sivesh at rebels.ingr.com
Wed Dec 12 07:07:07 AEST 1990
In article <2423 at sparko.gwu.edu>, fc173108 at seas.gwu.edu (Iqbal Qazi) writes:
|> My prompt is now:
|>
|> fc173108 at sparko:xxx:
|> ^^^ ^^^ ^^^
|> | | |
|> account machine line#
|>
|> and I would rather have my path shown, or the time, or just something else.
|>
|> I mean, I know which account I'm in, and what machine I'm on. I think
|> I need to stick something in my .kshrc file but I don't know what.
put PS1="what_ever_you_want_your_prompt_to_be" in your .profile
-Sivesh
More information about the Comp.unix.shell
mailing list