5. Making Color ls the Default

Contents of this section

Making color-ls the default for you or your machine is easy. If you just want color-ls to be the default for you, put:

eval `dircolors`

(Use backquotes around dircolors, not forward quotes.)

in your $HOME/.bashrc if you use bash and your $HOME/.cshrc if you use csh/tcsh.

If you want color-ls to be the default for everyone on your machine, put:

eval `dircolors`

(Use backquotes around dircolors, not forward quotes.)

in your /etc/bashrc for bash and /etc/csh.cshrc for csh/tcsh.


Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter