$ export MYVAR=1729 $ echo $MYVAR 1729
# Use source or . instead of bash source script.sh # OR . script.sh