The meaning of various color files under Linux

Source: Internet
Author: User
The meaning of the file color under Linux

blue indicates the directory;
Green indicates executable file;
red indicates compressed files;
Light blue indicates a linked file;
Grey indicates other documents;
Flashing red indicates a problem with the linked file;
Yellow is the device file, including block, Char, FIFO.
Use Dircolors-p to see the default color settings, including various colors and "bold", underline, flashing and other definitions.
If you need to change the system default color, you can use the following method:
# vi/etc/dir_colors
Then in the file, find the items you want to modify, such as to change the directory color, you can change dir 01;34 to "dir 01;37;44", 37 is the font white, 44 is the word background blue.
Save exit when edit is complete
Then, execute
# eval ' dircolors/etc/dir_colors '
Note the ' symbol in the command is the one below the keyboard ~ symbol, don't get it wrong.

The meaning of various color files under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.