environment variables [message #656672] |
Fri, 14 October 2016 02:28 |
|
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 |
John Watson
Messages: 8961 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
|
|
|
|
|