作者:
Hevak (Arthow Eshes)
2016-03-11 22:48:00打完密码进来->这个应该是进bash的时候吧那这种的你应该要写在.bashrc或.bash_profile里面.bash_profile只会在bash登入时执行,子程序的bash下不会,所以如果你只是要在登入时跑这个,那你应该写在.bash_profile。如果你原先没有在用.bash_profile,那建议.bash_profile的开头加一行这个:[[ -r ~/.bashrc ]] && . ~/.bashrc这样登入时才会跟着读入.bashrc