Please tell me what is the difference in bash shell between launching a script with ./script.sh and . ./script.sh?
./script.sh
. ./script.sh
The first requires the file to have the +x flag set. The second uses the . command aka "source", described here.