What is the difference between executing a Bash script vs sourcing it?
What is the difference between executing a Bash script like A and sourcing a Bash script like B? A > ./myscript B > source myscript Answer Both sourcing and executing the script will run the commands in the script line by line, as if you typed those commands by hand line by line. The differences … Read more