how to create .sh file to executable code example
Example 1: ubuntu make sh file executable
chmod +x <fileName>
sudo ./<fileName>
Example 2: how to make a .sh file executable
chmod u+x <fileName>.sh
chmod +x <fileName>
sudo ./<fileName>
chmod u+x <fileName>.sh