add x-executable to command line ubuntu code example Example 1: make shell script executable chmod +x filename.sh Example 2: linux make executable chmod 755 file.sh