Search:  
Gentoo Wiki

TIP_use_folders_colors

This article is part of the Tips & Tricks series.
Terminals / Shells Network X Window System Portage System Filesystems Kernel Other

Introduction

It's not only for fun or because it looks beautiful.

For terminal users it's a great advantage using different colours for files, folders, links, executables, etc.

HOWTO

type:

eval `dircolors -b /etc/DIR_COLORS`
alias ls="ls --color=auto"

If you put the above two commands in your ~/.bashrc, they will be executed on each login.

Retrieved from "http://www.gentoo-wiki.info/TIP_use_folders_colors"

Last modified: Fri, 05 Sep 2008 09:32:00 +0000 Hits: 9,949