chmod u+x
Add execute permission for the owner only
chmod u+x adds execute for the user (owner) without changing group or others. u=user, g=group, o=others, a=all. + adds, - removes, = sets exactly.
Example
$ chmod u+x deploy.sh
$ ls -l deploy.sh
-rwxr--r-- 1 ubuntu ubuntu 512 Jan 15 deploy.sh
Tip: Type it yourself in the terminal below - reading is not the same as doing.