how PS1 variable is used ?
MR ZenWiz
mrzenwiz at gmail.com
Tue Dec 7 20:25:31 UTC 2010
On Tue, Dec 7, 2010 at 12:01 PM, Denis Firsov <dfirsov.source at gmail.com> wrote:
> When i run "set" command i see bunch of variables.
> Among them i found "PS1" variable:
> PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
>
> how this variable is used ?
>
It is used exactly in accordance with the specifications in the shell
man page, which is the first place one should look for such
information.
(IOW, RTFM)
More information about the ubuntu-users
mailing list