On Sun, 12 Sep 1999, Ken Wilson wrote:

> I stand corrected.  Thanks.  At least I can hope I pointed him in the
> right direction.
> (Personal Note: Spend a little more time on RTFM.)  :-)
> 
> Ken Wilson
> First Law of Optimization: The speed of a nonworking program is
> irrelevant
> (Steve Heller, 'Efficient C/C++ Programming')
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Philp
> > Sent: Sunday, September 12, 1999 12:14 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [newbie] aliases for shell?
> >
> >
> > Ken Wilson wrote:
> > >
> > > Items you edit in the /etc directory won't take effect
> > until the next
> > > time you reboot your machine.  Items edited in a person's home
> > > directory, i.e. /home/username/.bash_profile, take effect
> > the next time
> > > the person logs on.  The stuff in the /etc directory is
> > global and only
> > > run once at boot time.
> >
> > You've got a bit of confusion going on there, I think.
> >
> > It's true that the /etc files are global and affect every user, while
> > files in your home directory only affect that user.
> >
> > However, it's NOT true that /etc files are only consulted at
> > boottime.
> > Those files are read at each logon.

Some files (eg, /etc/rc.d/rc.*, and friends) do only get run at boot time,
this is probably what had Ken mistaken. As for bashrc files you can source
them (eg, source ~/.bashrc, or . ~/.bashrc) and skip the logout/login
proccess.
 
> > The bash man page has the specifics about the reading of the
> > files, but
> > suffice it to say /etc are read first, then /home are read and replace
> > duplicate definitions.
> >
> > --
> > Steve Philp
> > Network Administrator
> > Advance Packaging Corporation
> > [EMAIL PROTECTED]
> >
> 
> 

--
MandrakeSoft          http://www.mandrakesoft.com/
                                        --Axalon

Reply via email to