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