I have created a file: run.sh
and it has the following code:
cd /home/elainedesktop/npm start
I have chmod +x run.sh
too FYI.
Currently, I must open terminal and type ./run.sh
or bash run.sh
but this isn't what I want.
I want to run it by simply clicking the run.sh
file. Is this possible?
I tried this too but clicking on it opens it in Vim:
#!/bin/bashcd /home/elainedesktop/npm start