Need solaris help, probibly simple

nickanderson

Limp Gawd
Joined
Jul 18, 2004
Messages
425
Hi, im sure this is simple to an expert, but how do I modify environment variables in solaris? If I do a setenv those are gone after the session is over, so how do I modify them perminatly.

Thanks!
 
It depends on your shell

Your user only:
for bash put them in ~/.bashrc
for tcsh put them in ~/.tcshrc

Most shells read the file ~/.[shellname]rc when you log in.

For everyone put them in /etc/[shellname]rc
 
I didnt realize it but I was looking for oracle specific parameters for the oracle user, and I found it in dbs.hostname.sch

Thanks
 
Back
Top