how to run a sh code example
Example 1: how to run shell script
chmod +x <fileName>
./fileName. # or use ->. bash fileName
Example 2: how to run a .sh file
./yourscript.sh
chmod +x <fileName>
./fileName. # or use ->. bash fileName
./yourscript.sh