使profile生效的方法

1.source /etc/profile

使用.bash_profile生效的方法

1 . .bash_profile

2 source .bash_profile

3 exec bash --login