Saving User-Created Variables
which conf file do i edit to save User-Created Variables ?
|
Bash, C, C++, Perl, ... ?
Persistent Objects? Cheers, Tink |
bash!
|
I don't think that there is a "config file" you can
edit to achieve automatic saving of environment variables. The user would have to actively put the variables he needs preserved into either .bashrc or ./bash_profile (depends on how you invoke bash, "man bash" for details) to have them "preserved" between sessions. If you want to have a bash-script get specific variables between sessions, write & read them to/from files. Code:
my_exit() Cheers, Tink |
All times are GMT -5. The time now is 11:12 AM. |