well you see when you want to start an application from the command line you type the command. now if you write that command in the file and make that file executabale and then run it then you have got a script for yourself
but of course you have to tell it how to interpret it in the very first line of the file by giving the shell path you want to use