bash_profile

.bash_profile 是用户登陆时的环境变量,如PATH等,的设置文件。

当用户login shell是sh或者bash, 用户登录后,系统会执行此文件,以设置相应环境。
/home/test/.bash_profile 和 /root/.bash_profile 分别是用户test和root的环境文件。
/etc/skel/.bash_profile 为创建帐号时的默认配置用

猜你喜欢

转载自liuna718-163-com.iteye.com/blog/2409157