Pages

What do different color of the files mean in Linux

When you list using 'ls' command in Linux terminal, you may see different color for different files. Each color represent a different format as follow. You can change the color by editing ~/.bashrc file which will be discussed in detail.
  • Blue: Directory
  • Green: Executable or recognized data file
  • Sky Blue: Symbolic link file
  • Yellow with black background: Device
  • Pink: Graphic image file
  • Red: Archive file
  • Red with black background: Broken link

For more details, see this post in Stack Exchange site Unix & Linux.

No comments:

Post a Comment

You may be interested in these posts

Error in image file conversion: convert-im6.q16: not authorized `test.eps' @ error/constitute.c/WriteImage/1037.

This error is because of the vulnerability. This allows remote execution of code using image formats. So, some Linux distributions by defaul...