Is there a way to set environment variables from within a (bash) shell script?
I want to set some environment variables on some servers using a small script rather than typing. Some forum posts believe it is impossible.
Any Ideas?
|
Is there a way to set environment variables from within a (bash) shell script? I want to set some environment variables on some servers using a small script rather than typing. Some forum posts believe it is impossible. Any Ideas?
| ||||
feedback
|
|
file export_FOOBAR:
at the prompt
| |||||||||||||||||
feedback
|
|
or you could just execute: export $VARIABLE="stufffff" | |||||||||
feedback
|