Need URGENT solaris help!

nickanderson

Junior Member
May 21, 2006
9
0
0
Hi im sure this is a easy question, but im very new to solaris.

How do I make environment variable changes perminate. If I use setenv, they go away after the session. Is there a file there defined in? if so, how do i find it?

Thanks!
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
The same way you do it in any unix or unix-like system. You modify your shell's configuration file.
.login for csh
.profile for sh and ksh
.bashrc or .bash_profile for the retarded one (I'm not sure which is which, but one is for interactive logins and the other is for non-interactive logins, and sometimes they're just applied randomly I think)