Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


colors in the console

Posted on 1999-07-12
Medium Priority
Last Modified: 2010-04-20
How can I get the console to display colors (like green on black) rather than that delightfully bland gray on black scheme it's got right now.  I know it can do colors in the console (it does when it starts up and says "OK" for everything).  I've got RedHat 6.0 if that makes a difference.

oh yeah, if your answer is RTFM, tell me which one.  I'll still give you the points
Question by:Basil000
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Expert Comment

ID: 1635310

Are you trying to change the colors in a terminal window? Or on the console window that displays system messages?

Also, what window manager are you using? (KDE, Gnome, etc.)

Author Comment

ID: 1635311
I wanna change the colors in the terminal, as in not in X. Like when i first log in.

Accepted Solution

JadeFang68 earned 200 total points
ID: 1635312

Assuming you are using the bash shell (Identified by a $ as your prompt), edit the file called .bashrc in your favorite editor (like pico) and insert the following line:

alias ll = 'ls -lags --color'

This will give you a color display of the files in a directory (Different colors for various file types) in long format, when you type the command "ll"

I am not sure if the foreground and background colors can be changed in the regular console, but it can most definitely be done under X.

With this trick, you'll spice up the display a bit.

Let me know if this helps.

Author Comment

ID: 1635313
works for me

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question