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