PROMPT

Caren Alink caren at idca.tds.PHILIPS.nl
Fri Oct 27 00:09:24 AEST 1989


In article <21262 at adm.BRL.MIL> shahryar at sutro.sfsu.edu (Shahryar G. Hashemi) writes:
>I have a question about setting up my prompt in UNIX.  In DOS you can a:
>PROMPT $P$G
>and it will automaticaly change my prompt when I change to a new directory.
>
>I would like to know how to do this same command in UNIX.  I have tried 
>alias {but no good man pages}.  Could someone out there please help me.

Try putting:

PS1='"$PWD" > '

in your .profile file.



More information about the Comp.unix.questions mailing list