/etc/profile,/etc/environment,.bash_profile及.bashrc等与环境变量有关的文件的比较
先将exportLANG=zh_CN加入/etc/profile,退出系统重新登录,登录提示显示英文。将/etc/profile中的exportLANG=zh_CN删除,将LNAG=zh_CN加入/etc/environment,退出系统重新登录,登录提示显示中文。用户环境建立的过程中总是先执行/etc/profile然后在读取/etc/environment。为什么会有如上所叙的不同呢?