ubuntu 和 centos shell/samba/network等设置

彩色shell提示符:

   ubuntu: 

vim ~/.bashrc
将#force_color_prompt=yes
改为
force_color_prompt=yes

 

Linux登录过程中加载配置文件顺序:

/etc/profile → /etc/profile.d/*.sh → ~/.bash_profile → ~/.bashrc → [/etc/bashrc]
可查看默认的~/.bashrc文件如下

posted @ 2021-08-03 00:29  平安1111  阅读(61)  评论(0)    收藏  举报