linux命令背景变白 linux换背景( 二 )


linux怎么把vim背景改成白色启动 Linux(示例版本为 CentOS 6.6) , 进入终端 。
键入 su,回车,再输入 root 帐户密码(注意密码并不在屏幕上显示),登陆 root 帐户 。
键入 cd/usr/share/vim/vim72/colors,回车,进入到相应目录下 。
注意:如果你的 Linux 版本不同,其中的 vim72 部分可能略有不可 , 可以到 /usr/share/vim 目录查看下,目录名一般为 vimXX 。
键入 ls,这时可以看到系统中已有的配色方案(扩展名为 .vim 的文件) , 记下 。
linux服务器怎么调整背景颜色linux下设置ls命令显示文件、文件夹颜色:
1. LS_COLORS
用 dircolors -p可以 看到缺省的颜色设置,包括各种颜色和“粗体”,下划线,闪烁等定义 。
环境变量LS_COLORS时用来设置GNU ls的--color选项中的颜色的 。
# 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
NORMAL 00 # global default, although everything should be something.
FILE 00 # normal file
DIR 01;34 # directory
linux命令背景变白的介绍就聊到这里吧,感谢你花时间阅读本站内容 , 更多关于linux换背景、linux命令背景变白的信息别忘了在本站进行查找喔 。

推荐阅读