environment variables [message #656672] |
Fri, 14 October 2016 02:28 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.gravatar.com/avatar/9e9f439c25ebcda2d887d34bd39eec3b?s=64&d=mm&r=g) |
arifmd1705
Messages: 37 Registered: May 2016 Location: uae
|
Member |
|
|
Hi experts,
i recently started learning and practicing on linux , i wanted to know why we need environment variables. Can these environment variables be set by us. There are certain system environment variables like ORACLE_SID, ORAENV which we give while connecting oracle database on linux , are they created by default in bash or do we need to create them.
|
|
|
|
|
|
|
Re: environment variables [message #656685 is a reply to message #656679] |
Fri, 14 October 2016 06:29 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
John Watson
Messages: 8938 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
You don't need to know any more Linux than you know Windows. There isn't much difference. You set the same variables: PATH, ORACLE_HOME, and ORACLE_SID. Just tiny syntax differences, for example in a Windows cmd shell you use the set command, in a Linux bash shell you use the export command. They do the same thing.
[Updated on: Fri, 14 October 2016 06:29] Report message to a moderator
|
|
|
|
|