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