|
|
learning the bash shell 上说先找.bash_profile再找.bash_login再找.profile. 三个文件只有一个起作用。
可我的gentoo同时有.bash_profile和.profile 。
我的fcitx的启动程序命令是放在.profile 下的,如果移到.bash_profile下总会有写小问题。
请问gentoo下, .bash_profile 和 .profile 到底什么关系。
另外,大家读英文learning bash shell 花了多少时间,我觉得3天很难看完。
谢谢
还有下面的这几句话是什么意思。
One advantage of bash's ability to look for either synonym is that you can retain your .profile if you have been using the Bourne shell. If you need to add bash-specific commands, you can put them in .bash_profile followed by the command source .profile. When you log in, all the bash-specific commands will be executed, and bash will source .profile, executing the remaining commands. If you decide to switch to using the Bourne shell you don't have to modify your existing files. |
|