make an executable script in linux code example Example 1: make shell script executable chmod +x filename.sh Example 2: linux make executable chmod 755 file.sh