The display color of the change command ls-Linux general technology-Linux technology and application information. The following is a detailed description. Linux Command ls sets the display color of the directory to Blue by default, which is OK on the CRT screen, but almost invisible on the LCD screen, especially on the laptop. You can change the display color of ls in the following ways:
1. The command dircolors outputs the current preset color attributes, archived to the. dir_colors file in the home directory.
Dircolors-p> ~ /. Dir_colors
2. Edit joe ~ /. Dir_colors, where
DIR 01; 34
Change
DIR 01; 33
After archiving, log on again. The color value 33 represents yellow, so eye-catching!
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.