[Sunhelp] Export environment variables

McIntire, John john_mcintire at unitrode.com
Tue Jul 20 09:53:22 CDT 1999


use setenv instead of set

> -----Original Message-----
> From:	Miguel Demaerel [SMTP:Miguel.Demaerel at SGMS.SEMA.BE]
> Sent:	Tuesday, July 20, 1999 10:54 AM
> To:	@List SUN
> Subject:	[Sunhelp] Export environment variables
> 
> Hoi
> 
> I'm running in the c shell.
> I have set a variable in the .cshrc file of user XYZ
> set TEST=/usr/TEST
> set path=(/bin TEST/bin .)
> 
> when I change to the root with the su root (without '-') command
> I can't use the TEST variable I have set in the XYZ environment.
> 
> I thought when I use 'set' I can use it.
> How can I export it?
> 
> Thanks in advance.
> Can someone please help me.. I'm a newbie on this OS.
> 
> Greetings Miguel
> 
>                    ////
>                   (o o)
> ==============oOO==(_)==OOo==============
>              Miguel DEMAEREL
>         Sema Group Managed Services
>        Raketstraat 98 - 1130 Brussel
>                  Belgium
>        Tel: +32 (0)2 724 93 17
>        Fax: +32 (0)2 724 92 92
>  EMail: Miguel.Demaerel at SGMS.SEMA.BE
> =========================================
> 
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp






More information about the SunHELP mailing list