Unix Tidbit: Color Coded Directory Listing

Each time I move onto a new Unix machine (I recently bought a new iMac!), I change the look of the terminal directory listings, from this:

to this:

It’s quite simple — I edit one of the bash config files (any of the files will do, but I usually choose /etc/bashrc), and add the following line:

alias ls="ls -aGF"

That’s it!

This entry was posted in Unix Tidbits and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *