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?


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


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'

In my example, they're directories.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.