linux command to execute shell script code example
Example 1: ubuntu make sh file executable
chmod +x <fileName>
sudo ./<fileName>
Example 2: how to run shell script
bash yourfile.sh
chmod +x <fileName>
sudo ./<fileName>
bash yourfile.sh