Hi all, I'm writing my /bin/sh script that messes around with variables. Eventually I got to the point an need to export the variables.
Code:
export varialbe1=10
export variable2=95
calling from sh:
Code:
echo variable1: $variable1
echo variable2: $variable2
does the job, but how can I add this to the contable? I mean let's say that this script is saved into /usr/local/bin/variables.sh
How do I add an entry to the contable that achieves exactly what
Code:
. /usr/local/bin/variables.sh
does?
Thanks