跳至内容
LinuxNote
用户工具
登录
站点工具
搜索
工具
显示页面
过去修订
反向链接
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您的足迹:
程序应用:bash:ls颜色
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== 调整 ls --color 颜色 ( dircolors ) ====== dircolors --print-database 会输出一段模板 有颜色数字表示的介绍和 文件类型的默认颜色 <code> # Below are the color init strings for the basic file types. A color init # string consists of one or more of the following numeric codes: # Attribute codes: # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed # Text color codes: # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white # Background color codes: # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white </code> 然后自行修改 LS_COLORS 变量 例:LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=31;01;05:su=37;41:' export LS_COLORS
程序应用/bash/ls颜色.txt
· 最后更改: 2023/06/13 05:25 由
127.0.0.1
页面工具
显示页面
过去修订
反向链接
回到顶部