bash-prompt problem

Jeroen Coumans jeroencoumans at gmx.net
Thu Nov 21 09:42:35 PST 2002


On Thursday 21 November 2002 16:00, rolf deenen wrote:
> export PS1=``<\u@\h:\w>$''

export PS1="\u@\h:\w>$"

Do you see the difference? It's very obvious here in KMail with font 
Arial :) Anyway, the \@>$ are special characters which are normally 
interpreted by bash. Therefore we put it between double quotes so bash 
ignores them. There are other special characters, but for these I refer 
to man bash.

-- 
Groeten/Greetings
Jeroen Coumans
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list