Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: Dr. Jennifer Nussbaum <bg271828(at)yahoo.com>
Date: Tue Aug 21 2007 - 19:14:04 EDT

Im a new Debian Etch user, coming from FreeBSD. When i first installed my system, running the "ls" command would
give me coloured output (executables one colour, directories another). Also, when I sudo'ed to root, i would get the usual "#" prompt as root.

I then copied over my (straightforward) .bashrc file, and now i dont have the colored output and sudoing to root
leaves me with a "$" prompt. (I do reset my PS1 line, but i dont know how to have a different one for root, keeping
the "#".) Can someone give me a suggestion? My complete
.bashrc, less comments, and with my CVSROOT masked, is:

---

PS1='\h\w $ '; export PS1
BLOCKSIZE=K; export BLOCKSIZE
EDITOR=emacs; export EDITOR
CVS_RSH=ssh; export CVS_RSH
CVSROOT= [HIDDEN]; export CVSROOT
PATH="${PATH}":/sbin:/usr/sbin
---

So, nothing fancy. How do i get my coloured "ls" back, and my "#" prompt as sudo'ed root?

Thanks,

Jen        



Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/
-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Aug 21 19:14:26 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:38:31 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library