On Wed, Feb 21, 2001 at 02:07:16PM +1100, Crossfire wrote:
> yes, you set it in the environment one level up.
>
> Of course, this may not be practical in most cases.
>
> In which case you add it to your .bashrc/.profile/.login/.whatever so
> it gets set when you log in.
Is that the full answer?
Don't you need to export it as well?
TOMCAT_HOME=/dev/bush
JAVA_HOME=/dev/mug
export TOMCAT_HOME JAVA_HOME
"export: The supplied names are marked for automatic export
to the environment of subsequently executed commands."
--
chesty
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug
- Re: [SLUG] BPay/St.George with Linux/N... Rick Welykochy
- Re: [SLUG] BPay/St.George with Linux/Netscape ... Peter Chubb
- RE: [SLUG] BPay/St.George with Linux/Netscape 4.75 JZ John Zantey ( 3470)
- Re: [SLUG] BPay/St.George with Linux/Netscape ... Martin
- [SLUG] Environment Variables Basil Dewhurst
- Re: [SLUG] Environment Variables DaZZa
- RE: [SLUG] Environment Variables Basil Dewhurst
- Re: [SLUG] Environment Variables James Wilkinson
- [SLUG] Re: Environment Variables Angus Lees
- Re: [SLUG] Environment Variables Crossfire
- Re: [SLUG] Environment Variables chesty
- Re: [SLUG] Environment Variab... Crossfire
- Re: [SLUG] Environment Va... chesty
- Re: [SLUG] Environment Variab... Peter Rundle
- Re: [SLUG] Environment Variables Martin
