1、
/etc/profile :系统环境变量配置文件。
~/.bash_profile :用户 环境变量配置文件。
2、设置特定用户console为由英文环境:
在 ~/.bash_profile中设置 export LANG=en_US
如果用户在console中切换为root,则环境变量切换为系统环境配置并无法随着用户的切换而切换。
~/.bash_profile :用户 环境变量配置文件。
2、设置特定用户console为由英文环境:
在 ~/.bash_profile中设置 export LANG=en_US
如果用户在console中切换为root,则环境变量切换为系统环境配置并无法随着用户的切换而切换。