[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: looking for a script to display current location in filesystem



Rick Macdonald writes:
>
>On Wed, 11 Dec 1996, cs51wcs wrote:
>
>> Hi,
>>   I'm currently trying to figure a way to display where I am in the filesystem like in dos, but am having  a hard time. Any assistance is appreciated.
>
>Do you mean the prompt? Try something like this for the bash shell:
>
>         export PS1='\h:\w$ '
>

Or for tcsh:

   set prompt='%/: '

Brian 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: