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

RE: Ò»Çж¼¸ã¶¨À²¡£:-)



>===== Original Message From ha shao <hashao@chinese.com> =====
>On Thu, Aug 30, 2001 at 04:43:58PM +0800, Eric_Hu@sina.com wrote:
>
>bash itself does not know about /etc/bash.bashrc. Now you mentioned
>it, so check /usr/share/doc/bash/README.Debian:
>5. What is /etc/bash.bashrc? It doesn't seem to be documented.
>
>   The Debian version of bash is compiled with a special option
>   (-DSYS_BASHRC) that makes bash read /etc/bash.bashrc before ~/.bashrc
>   for interactive non-login shells. So, on Debian systems,
>   /etc/bash.bashrc is to ~/.bashrc as /etc/profile is to
>   ~/.bash_profile.
>
>But it does not work for you. It could be a bug. fill a bug report
>with `reportbug bash` if you are sure it is does not work.

²»,bashÄÜÕÒµ½/etc/bash.bashrc,µ«Ö»ÊÇÔÚnon-loginµÄʱºòÈ¥ÕÒ.ËùÒÔÎÒÉèÖÃÔÚ
ÄÇÀïµÄ»·¾³±äÁ¿Ò»¶¨ÒªsuÒÔºó²ÅÆð×÷ÓÃ.
ÎÒÏÖÔÚ°Ñ/etc/profileÖвéÕÒ²¢ÆðÓÃ~/.bashrcµÄ¶ÎÂä¸Ä³É²éÕÒ/etc/bash.bashrc,
Ò»ÇоÍÍêÃÀÁË.:-) (Õâ·âОÍÊÇÓÃchinput´òµÄ)
ÏÖÔÚÎÒµÄϵͳÖÐbashÆð¶¯Ê±ÒýÓÃ×ÊÔ´ÎļþµÄ˳ÐòÊÇ:
  login:
	1./etc/profile(µ÷ÓÃ/etc/bash.bashrc)
	2.~/.bash_profile(µ÷ÓÃ~/.bashrc)
  non-login:
	1./etc/bash.bashrc
	2.~/.bashrc




Reply to: