this tutorial will show you the command you need to execute in the shell prompt of linux to make a file executable so you can make it into a script. In this post you will find the linux command chmod for modifying the permissions to make a file execute.
if you want to know how to make a linux file executable you can use this example
my file is called example.exe
chmod +x example.exe