On Fri, 12 Jan 2001, Clarence Verge wrote:

> [EMAIL PROTECTED] wrote:
> > 
> > Each user has his own .bashrc (in his home directory).
> > The changes made to .bashrc are specific to that user.
> > If you want something to apply to everyone, you put it
> > in /etc/profile.
> 
> Does this mean that everyone, including root, must have /etc in their path ?

  No.  /etc/profile is a universal shell config file which applies
to every user when he logs in.  The .bash* files can then modify
whatever behavior has been set in /etc/profile.  (Note: .bash*
files are only relevant if you have bash as your shell... if you
have tcsh, for instance, that shell would be controlled by 
.tcsh* files instead)  

  Paths are set to directories where you want to be able to have 
executable files.  /etc is only for configuration files, so you 
never need to include /etc in a path.

  As a rule, you don't want to have much more of a path than 
what you're defaultly given.  For instance, here's mine:
PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/steve/bin,
but you could certainly add something like /opt/bin and /usr/games
without getting into trouble.

 - Steve


Reply via email to