How to Color Code Your Terminal in Gnome Shell 3.x

Posted by Jonquil on Nov 4, 2011 7:01 AM EDT
xjonquilx | Sabayon, Ubuntu, Fedora, Linux, Oh My!; By Jonquil McDaniel
Mail this story
Print this story

In this article I will tell you how to color code terminal in Gnome Shell 3.x, effectively making long lists of files easier to read.

Ever wished you had a color coded terminal like this?

It’s quite easy to do in Gnome Shell 3.x. First, open your home directory. Then press Ctrl + H to see your hidden files. Find the .bashrc file and open it. Add this command:

PS1=’${debian_chroot:+($debian_chroot)}\[33[0;32m]u@h[33[00m]:[33[01;34m]w[33[00m]$ ‘

Save it and close out. Log out and log back in. You should now have a color coded terminal like the one above.

Full Story

» Read more about: Story Type: Tutorial; Groups: GNOME

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.