![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Enviroment Differences script(s) | JoeShmoe | Shell Programming and Scripting | 2 | 10-25-2006 08:57 AM |
| Enviroment variables... | B14speedfreak | UNIX for Dummies Questions & Answers | 2 | 06-26-2006 06:15 AM |
| Accessing remote machine via an enviroment variable | ElCaito | UNIX for Dummies Questions & Answers | 4 | 02-14-2006 09:04 PM |
| newbie problem with enviroment | alien12 | UNIX for Dummies Questions & Answers | 1 | 02-10-2006 11:54 AM |
| Help! - How do I compile C++ in UNIX Enviroment? | Kahuashi | UNIX for Dummies Questions & Answers | 3 | 06-01-2002 01:34 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
set enviroment variable..
Hello...
I was wondering can anyone explain me how to set up enviroment variable to be permanent... I tryed with setenv but my solaris does not have this command... then I did: export ORACLE_SID=base1 export ORACLE_BASE=/home export ORACLE_HOME=$ORACLE_BASE/oracle/8.1.6 and by doing this I can start my sqlplus...but as soon as I break telnet connection to my solaris..and start it over again...I am losing these variables.. I have to set them again and sqlplus works.. can U help me with this.. |
|
||||
|
Check which shell you are using by echo $SHELL as described above. If you are using bash, you will need to place them in your .bashrc file. If sh or ksh, then your .profile as described above. If you are using csh or tcsh, you will need to edit your .login file. But from the output above, I don't think you are using csh or tcsh.
|
|
||||
|
Hi,
I too am facing this problem of setting the environment variables permanently. i'm using sh as my shell and I looked for .profile directory in my root filesystem but did not see any directory named like that. What directory am I supposed to be looking at ??? Thanks rohit |