How to make a file executable

$ chmod +x [file]

Command
chmod
Description
Grant execute permission to a file (e.g. shell scripts). Usage: chmod +x script.sh
Deep Dive
+x adds execute permission for everyone. To add it only for the owner, use `chmod u+x`.