linux chmod make 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