[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

colors in the console

Posted on 1999-07-12
4
Medium Priority
?
310 Views
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
0
Comment
Question by:Basil000
  • 2
  • 2
4 Comments
 

Expert Comment

by:JadeFang68
ID: 1635310
Basil:

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.)
0
 

Author Comment

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

Accepted Solution

by:
JadeFang68 earned 200 total points
ID: 1635312
Basil:

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.
0
 

Author Comment

by:Basil000
ID: 1635313
works for me
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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
Course of the Month9 days, 8 hours left to enroll

591 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