Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

4.6. some colors for a change

Putting some colors on your terminal can help you to distinguish folders, files, archives, devices, symbolic links and executable file from others. My opinion is that colors help to make less errors and fast navigation on your system. It's important to note that this hack is necessary only for Red Hat Linux version 6.1 (Cartman) and older, since the new Red Hat Linux version 6.2 (Zoot) now enables and includes this feature by default. Edit the profile file vi /etc/profile and add the following lines:

         # Enable Colour ls
         eval `dircolors /etc/DIR_COLORS -b`
         export LS_OPTIONS='-s -F -T 0 --color=yes'
         
Edit the bashrc file vi /etc/bashrc and add the line:
         alias ls='ls --color=auto' 
         
Then log in and out. The new COLORS-environment variable should now be set, and your system will recognize that.

Note: Remember that this feature is only required for Red Hat Linux version 6.1 and older.

 
 
  Published under the terms of the Open Publication License Design by Interspire