Env variable

Hello,

I want to cange env variable on SunOS.
I tried:

export GONGA=$GONGA:/users/BANK1/basic/queues/SARON_SPACE1

it changed it only localy for my session.
when i opened a new session (telnet etc') the old value exist.
How can I change it to effact all sessions.

Thanks.

It depends on your shell. Which shell are you using?

Assuming from the syntax that it's sh, bash, ksh, or similar, check for a .profile, .bashrc, or .bash_profile in your home directory - typically a profile or login script is run when you log in.

1 Like

Add this to your .profile :

export CONGA=/users/BANK1/basic/queues/SARON_SPACE1