Re: SQR or SQL*PLUS and enviroment variables + UNIX

From: Fernando Luna <fern_at_aa.net>
Date: 1995/08/08
Message-ID: <Pine.LNX.3.91.950808100806.26680A-100000_at_big.aa.net>#1/1


On 8 Aug 1995, KJ wrote:

> 	Does anyone know how in a Unix enviorment how I can change an 
> envoirment variable that existed when it was caled. I know that getenv() 
> can be used to read them , but how about changing them?
> 

It depends on the shell that you are running but there definitely is a way... If you use Bourne shell ("bsh") then you can do the following...

ENVIRONMENT_VARIABLE = 'Changed it';
export ENVIRONMENT_VARIABLE;

That would take care of your current session but if you want to make the changes permanent you would have to insert those two lines in your .profile file or the .login file (whichever one you have)...

If you need more help, let me know...


Fernando Luna  	   E-mail:        	fern_at_aa.net
Kent, WA         HomePage: http://www.aa.net/~fern/
             
=========================================================
Why I Can't Go Out With You:

I'd LOVE to, but ...

  • I have to floss my cat.
  • I've dedicated my life to linguini.
  • I need to spend more time with my blender.
  • it wouldn't be fair to the other Beautiful People.
  • it's my night to pet the dog/ferret/goldfish.
  • I'm going downtown to try on some gloves.
  • I have to check the freshness dates on my dairy products.
  • I'm going down to the bakery to watch the buns rise.
  • I have an appointment with a cuticle specialist.
  • I have some really hard words to look up.
  • I've got a Friends of the Lowly Rutabaga meeting.
  • I promised to help a friend fold road maps.
Received on Tue Aug 08 1995 - 00:00:00 CEST

Original text of this message