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