Lawrence Sayre wrote:
>
> My command line path only shows the directory I'm in, and not all of the
> directories below it.
>
> How can I set this for complete path information?
To change it for all users:
Edit /etc/profile, changing this line:
PS1="[\u@\h \W]\\$ "
to this:
PS1="[\u@\h \w]\\$"
To change it just for yourself, add the line above to ~/.bash_profile.
You can find information about what the \u, \h, \w and \$ mean in the
Bash manpage. (man bash)
--
Steve Philp
[EMAIL PROTECTED]
- [newbie] Command line path display? Lawrence Sayre
- Re: [newbie] Command line path display? Steve Philp
- Re: [newbie] Command line path display? Lawrence Sayre
- Re: [newbie] Command line path display? Lawrence Sayre
- Re: [newbie] Command line path display? Steve Philp
- Re: [newbie] Command line path displa... Lawrence Sayre
- Re: [newbie] Command line path di... Steve Philp
- Re: [newbie] Command line pat... Lawrence Sayre
- Re: [newbie] Command line pat... Steve Philp
