I am running Ubuntu 12.04 LTS and I can't seem to be able to run .sh files.
I have marked it as executable in properties and I tried to run it through the GUI. However, the terminal just flashed on the screen and doesn't do anything.
When I try to run the file through the terminal I get the following error :
Minecraft_Installer_20.sh: 2: Minecraft_Installer_20.sh: Syntax error: newline unexpected