create executable ubuntu code example Example 1: linux make executable chmod 755 file.sh Example 2: ubuntu make executable chmod +x /path/to/your/file.txt