linux create executable file code example Example 1: linux create executable > chmod +x my_file Example 2: linux make executable chmod 755 file.sh