LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2013, 05:48 PM   #1
cassinga
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
What do the colours in Linux terminal represent?


What do the colours in Linux terminal represent?

Last edited by Tinkster; 02-13-2013 at 06:42 PM. Reason: please use English, this forum doesn't allow other languages.
 
Old 02-13-2013, 06:59 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

the meaning of the colour of output on the linux console depends on what is outputting it. One of the most common coloured outputs is from the program "ls". These colours are defined by the LS_COLORS environment variable which is usually set using the dircolors command. You can see a description of the default colours for ls on your system with the following command
Code:
dircolors -p
The different colours are used to indicate different file types (often just indicated by their extension) or perhaps their permissions (is the file executable?) or other more subtle characteristics.

Note that users can use different colour schemes with dircolors, typically by making a ~/.dircolors file and invoking dircolors as
Code:
eval `dircolors --bourne-shell ~/.dircolors`
in their ~/.bashrc (this example is for bash users).

HTH,

Evo2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminal colours and locale mlpa Slackware 5 09-10-2010 08:40 AM
What terminal or shell colours do you use? jayeola Linux - General 2 08-24-2010 07:16 AM
What do the colours mean in the terminal? alaskazimm Mandriva 2 07-04-2004 07:34 AM
No .bashrc, I need colours in the terminal!! akudewan Slackware 9 06-07-2004 04:16 PM
How do I get colours in terminal (aterm)? mr-tiddles Linux - General 5 10-23-2003 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration