Feed on
Posts
Comments

to make your terminal display color coded files and directories when you call the ls command,

run:

sudo apt-get install fileutils

(have to have fink installed first if you’re on the mac)

then add to your .bashrc or .profile:

eval “`dircolors -b`”
alias ls=’ls –color=auto’


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

One Response to “how to get a color terminal”

  1. on 03 Mar 2006 at 6:58 pm Jason

    You could also add

    export CLICOLOR=1
    export LSCOLORS=ExFxCxDxBxegedabagacad

    to ~/.bash_profile (assuming you’re using bash and tiger)

    I haven’t figured out how to change directories from dark blue (which are hard to read on my transparent black terminal background).

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.