[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bash invocation was Re: Re2: your mail



next time, use clearer subject line please. thanks!
Eric.Hu <Eric_Hu@sina.com> writes:

> 我研究了半天,發現原來bash的規則是:在終端上第一次啟動時載入profile,
> 順序是先系統(/etc/profile),後用戶(~/.bash_profile);非首次啟動時則載
> 入bashrc, 同樣是先系統(/etc/bash.bashrc),後用戶(~/.bashrc).其中~
> /.bash_profile中缺省的就有檢查並載入~/.bashrc的程序,而/etc/profile
> 中卻沒有相應載入/etc/bash.bashrc的語句。我不清楚這樣做有什麼理由,或
> 許是安全方面的原因?我還在繼續啃文檔,希望可以把前因後果搞個明白。如
> 果哪位前輩高手知道一些相關的知識,希望能不吝賜教。

congratulation! and

man bash ;)

-- 
I CONSTANTLY LOST EMAIL FROM THIS MAILINGLIST SO
IF YOU WANT TO REACH ME FOR SURE THEN CC ME A COPY

-- 
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.



Reply to: