set as executable linux code example Example 1: how to make a .sh file executable Click to copychmod u+x <fileName>.sh Example 2: linux make executable Click to copychmod 755 file.sh