[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: path in prompt
- From: "Matthew Smith" <matthew smith silvaco com>
- To: <redhat-install-list redhat com>
- Subject: Re: path in prompt
- Date: Wed, 1 Apr 1998 09:18:51 -0800
>How can I get my prompt to display my full path? The only directory it
>shows is the one I am in. I am using bash with RH5 set at whatever the
>defaults are when I installed RH.
>thanks,
>
>Aaron Winters
Aaron:
Using \w in PS1 will echo the current directory you are in. If I'm
using bash, I would use something like: PS1='\u \h(\!)\w> '
An example of what this would look like on my machine would be:
matts desiato(47)~/ftp>
Scope the bash man pages for more info on changing the prompt.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]