export environment variable from a bash script
February 1st, 2011 mysurface
You may want to create a bash script that export some environment variable for your shell, but infect every execution of bash script is a unique session, where the variable export within it can’t be carry backward back to the bash shell. For example you have a env.sh which contains some environment variables export HELLO=hello […]
Posted in Bash, source | Hits: 204463 | 14 Comments »