a variable in linux shell. i'm not really understanding the difference between an environment variable and a shell variable.
how long does either last? how do you know which one is which?
if I set a variable:
VARIABLE="David" in a shell script
execute the script and go and type echo $VARIABLE... shouldn't it kick out David?
i know there are some variables you can export out of the shell, correct? but, i'm not really interested as i'm concentrating solely on bash at this point? or is that not how shells within linux work?
i guess now that i think of it ive heard of a single running of a script doing so within a 'shell'.. is this shell unique in it's processor and/or memory utilization?
why would i use anything other than bash? specialized customizations?