I am running Ubuntu Desktop (so, there's the graphical interface that I'm using). When I double click a '.sh' file, I was expecting it to run. However, it opened up gedit instead. I enabled the permission to execute the file, and I've tried to find a program called 'terminal' or 'bash' to execute the script with, and found nothing that looks like I could use it to execute the BASH script.
Could someone please tell me what I need to do, in order to be able to double click on a BASH script (or, at least right click and run with bash or something like that) and run it?
#!/bin/bash
or#!/bin/sh
?