make a shell script executable linux code example Example 1: make shell script executable chmod +x filename.sh Example 2: linux create executable > chmod +x my_file