Getting UNIX prompt to display curr

mcdonald at uxe.cso.uiuc.edu mcdonald at uxe.cso.uiuc.edu
Wed Mar 22 01:05:00 AEST 1989


>In MS-DOS there is a very easy way to get the current directory displayed as
>part of the prompt  (prompt $p).  In UNIX, there is certainly no
>straightforward way to do this.  Can anyone think of a tricky way?  

Maybe the Unix.Gods should put it in in a simple way and give it
a prominent place in TFM.



More information about the Comp.unix.questions mailing list