首页 > 代码库 > linux下使profile和.bash_profile立即生效的方法

linux下使profile和.bash_profile立即生效的方法

使profile生效的方法

1.source /etc/profile

使用.bash_profile生效的方法

1 . .bash_profile

2 source .bash_profile

3 exec bash --login


本文出自 “ALittleBitStep” 博客,谢绝转载!