Possible Duplicate:
What is $debian_chroot in .bashrc?
In Bash, why is PROMPT_COMMAND set to something invisible?
I logged into my computer from a normal user and executed the following command:
pratheep@pratheep-laptop:~$ echo $PS1
\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
I know that if I keep the value of PS1='\u@\h:\w\$ ' then also it will display the same.
I want to know what the extra thing in front i.e.
\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)} is for?
debian_chrootpart is explained here – Michael Mrozek♦ Feb 15 '12 at 15:58\[\e]0; ... \a\]part is explained here. – jw013 Feb 17 '12 at 0:11