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