how to make .sh executable ubuntu code example
Example 1: make shell script executable
chmod +x filename.sh
Example 2: ubuntu make sh file executable
chmod +x <fileName>
sudo ./<fileName>
chmod +x filename.sh
chmod +x <fileName>
sudo ./<fileName>