l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
June 2: Social gathering
Next Installfest:
Latest News:
May. 19: LUGOD special elections
Page last updated:
2003 May 30 14:07

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Linux graphing software?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Linux graphing software?

On Fri, May 30, 2003 at 09:54:22AM -0700, Micah J. Cowan wrote:
> On Thu, May 29, 2003 at 09:11:24PM -0700, Mark K. Kim wrote:
> > Alexandra,
> > 
> > In light of the conflicting suggestions, I thought I should mention that
> > sometimes you're supposed to put the file in .bashrc and sometimes it's
> > .bash_profile.  It really depends on the setup of your system.  I suggest
> > trying .bash_profile first, then .bashrc.
> Huh. I would strongly recommend the opposite. .bash_profile is only
> loaded when your shell is a *login* shell; it isn't loaded, e.g., when
> you open a terminal emulator in X. Most people (?) are setup so their
> .bash_profile automatically imports settings from .bashrc as well, so
> global things go in .bashrc, but login-only stuff goes in
> .bash_profile.

Considering how "most people" use X these days, Micah is correct on this.
I don't use a display manager -- I log into the console and start X if I
want to use it.  So, X and all it's children inherit the environment
from my login shell.  I figured setting ENV vars once in .bash_profile
is more efficient than setting it again in every subshell.  (Like it
really matters with modern hardware) 

However, when login is via xdm,kdm etc., the stuff in .bash_profile is
*not* available.

Thanks for pointing that out, Micah.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.