[CLUE-Tech] Bash question

Chris Ernst penguin-guy at attbi.com
Fri Apr 18 16:29:18 MDT 2003


Add your variables to /etc/bashrc and make sure that you have:

if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

in each users ~/.bashrc.  Then add the same lines to /etc/skel/.bashrc so that any new users will automatically get the same file.

	- Chris

On 18 Apr 2003 16:09:48 -0600
Jeremiah Stanley <lists at miah.org> wrote:

> I'm using RH 7.3 if that makes a difference here. I need to set two
> shell variables in the config files so that I get CVSROOT and CVS_RSH in
> every shell that I start. I tried putting them in .bashrc and
> .bash_profile. I then open some new shells and I echo my variables and
> they don't exist. What am I doing wrong and what is the right way to set
> this up?
> -- 
> Jeremiah Stanley <lists at miah.org>
> 
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech



More information about the clue-tech mailing list