[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .bashrc problem--"ls" output and root prompt



On Tue, Aug 21, 2007 at 04:14:04PM -0700, Dr. Jennifer Nussbaum wrote:
> 
> PS1='\h\w $ ';   export PS1
> 
> So, nothing fancy. How do i get my coloured "ls" back,
> and my "#" prompt as sudo'ed root?

Use \$ rather than a plain $ to get # as root.


A.

-- 
Ansgar Esztermann
Researcher & Sysadmin
http://www.mpibpc.mpg.de/groups/grubmueller/start/people/aeszter/index.shtml

Attachment: pgpAAoSz_QJHy.pgp
Description: PGP signature


Reply to: