Understanding the Colour Code of Linux Files

The Linux system displays various types of files in different colours to help the user differentiate the types of files.

The Colour Code is shown in the table below:

ColourMeaning
RedArchive File
GreenExecutable File
Cyan(Sky Blue)Symbolic Link File
BlueDirectory
Red with Black backgroundBroken Link
Yellow with black backgroundDevice
MagentaGraphic Image File

That’s all in this article! If you have any questions and/or suggestions, do write to us or comment below.

Leave a Comment