Tnx Matt, You get the credit, only because you beat San & Edward by 2 and 13 min respectively.
This looks to be just what I need. Presumeably I can define CLASSPATH and PYTHONPATH et al. in the same file. tnx agn gt On Mon, 29 Oct 2001 21:52:11 -0600, you wrote: >On Mon, Oct 29, 2001 at 09:11:38PM -0600, Gary Turner wrote: >> I give up. This is making me nuts. Where is the path variable stored? >> I assumed that it would show up in .bashrc or .bash_profile. It's not >> there. I can export path= for that session on that console, but I can't >> locate the global. echo $PATH or env shows me the value just fine. >> I've pored over the literature enough to know that damn near everything >> from shell to Java to Python and points in between use one path variable >> or another, but other than the export command I don't know how to change >> them. > >There really is no general, "easy" solution to this problem, given that >all users on your system might be using any of a number of different >shells. > >For Bourne-like shells (sh, ash, bash, ksh), check out the file >/etc/profile. There should be a default one in place already. > > >Keep in mind, though, if you have other shells, you'll have to edit more >files. For example, zsh has a couple files in etc: /etc/zsh* (zsh >*might* read /etc/profile---or you might be able to symlink /etc/profile >to one or more of the /etc/zsh* files). I never use any of the csh >family of shells (csh, tcsh), but I noticed I do have some /etc/csh* >files. > >Hope that helps! >Matt > >-- >Matt Garman, [EMAIL PROTECTED] >I find it truly amazing that social progress exists in light of the vast >number of people who would rather persue shallow, unconsequential >personal goals than try to contribute to civilization.