chmod 755 scriptfile
(Or 700 if only executable by owner)
ls -l script_file # to check
./script_file # to execute the script
chmod 755 scriptfile
(Or 700 if only executable by owner)
ls -l script_file # to check
./script_file # to execute the script