Linux文件夹绿色,为何引起这一现象?(linux文件夹绿色)

The color of the folder in Linux system can generate visual …

The color of the folder in Linux system can generate visual effect and distinguish different types of documents. In normal Linux system, the directory will be displayed in green which may surprise some people who know a little about it. So why does Linux folder turns green?

Generally, the font color of Linux folder turns green for the sake of distinguishability. Generally, on most Linux systems, the directory is colored in green and the executable file will be colored in cyan, which has been designed by the system. If need to change the color of files and folders, as one of the access permission management system, the administrator must use root to manually modify the color of the directory.

The change of the font color in Linux directories is different from the android system. Under the android system, generally, when we click the text area in the file management, the background of the directory which contains texts will turn to be light green. However, in the Linux system, although the font color could not be changed, we can change its background color.

To change the background color of the file manager, we need to edit the configuration file of Linux. We should change the content of the background file in the configuration directory of Linux, and this file should start by “LS_colors”. After that, the new color of the background in the file manager will take effect.

In addition, to make sure the new color of directory have taken effect, we need to use the command __dircolors – p__ to load the environment variable. It will automatically recognize the file type in corresponding configuration.

Generally, the Linux directory turns green for the sake of distinguishability. In this way, it will be more convenient for us to search for what we need. There are few limitations to the font color, we just need to edit the relevant content of the configuration file and take the commond.

香港服务器首选港服(Server.HK),2H2G首月10元开通。
港服(Server.HK)(www.IDC.Net)提供简单好用,价格厚道的香港/美国云服务器和独立服务器。IDC+ISP+ICP资质。ARIN和APNIC会员。成熟技术团队15年行业经验。

为您推荐

ssh远程超时中断的解决办法

有时我们网络正常的,但SSH连接经常出现中断的情况,以及在SSH远程时很慢的问题。 这是由于OpenSSL服务默认启用了...

Linux系统防火墙放行端口

如果您服务器内安装了宝塔面板,请直接登陆宝塔面板,安全,里面添加放行端口。如果添加后不生效,把防火墙开关一下即可。本教程...

Linux主机简单判断被CC攻击的网站命令-比较直接有效

CC攻击很容易发起,并且几乎不需要成本,导致现在的CC攻击越来越多。 大部分搞CC攻击的人,都是用在网上下载的工具,这些...

linux环境下测试get和post请求

Linux环境下测试get和post请求 ?get,post,curl   get请求 curl: curl ...

umount卸载磁盘提示target is busy

umount卸载磁盘提示target is busy. (目标忙) 的问题解决方案   umount卸载磁盘提...
返回顶部