3

From this question on the forum Color Code Files, I learned that some colors mean different things on linux. However, in the answer there wasn't a reference to a file that was dark grey. Here is a picture of a file directory:

enter image description here

What does the grey color mean? I was just wondering out of curiosity. Does it normally have a special meaning, or is this simply just a color scheme setting particular to my environment?

Dan Rubio
  • 217
  • 4
  • 9

1 Answers1

0

Run ls --color=always | less and you'll see the raw colour codes. Eg:

ESC[0mESC[01;34macESC[0m
ESC[01;34mbinESC[0m
ESC[01;34mBioWareESC[0m

It's a bit of a mess but in these cases, they're all 01;34.

Then all you need to do is look in $LS_COLORS for that colour.

$ echo $LS_COLORS | grep -Eo '[^:]+=01;34'
di=01;34

In my example, they're directories.

Oli
  • 293,335