Executing a bash script
As explained before you save your bash script as a .sh file and you make it executable with chmod e.g.chmod u+x script.sh.
You can run the script from within the folder where it’s installed using any of these methods:
sh script.shbash script.sh./script.sh