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