javanoob Asked: 2015-12-25 14:42:58 +0800 CST2015-12-25 14:42:58 +0800 CST 2015-12-25 14:42:58 +0800 CST why ls -a command showing file name in red color? [duplicate] 772 As shown in the above picture, When I do the command ls -a is one specific file name in red color. Why is it so? command-line 1 Answers Voted Best Answer Colin Ian King 2015-12-25T15:22:51+08:002015-12-25T15:22:51+08:00 The colours from ls are as follows: Blue: Directory Green: Executable or recognized data file Sky Blue: Link Yellow (black background): Device file Pink: Graphics image file Red: File Archive cf: What do the different colors mean in ls? So most of the files are links, apart from the non-link file archive which is red.
The colours from ls are as follows:
cf: What do the different colors mean in ls? So most of the files are links, apart from the non-link file archive which is red.