Alias which runs terminal command
I think this is the right forum because it is built into OS X and does not need a 3rd party app.
Anyway, on my old computer I had an icon that I clicked on, it opened terminal and then it ran the command and left it open. It was my old computer which I erased since then, but I do not remember how to that.
Does anybody know how to do this?
Thanks.
Anyway, on my old computer I had an icon that I clicked on, it opened terminal and then it ran the command and left it open. It was my old computer which I erased since then, but I do not remember how to that.
Does anybody know how to do this?
Thanks.
Comments
chmod 755 <drag .sh file here>
and hit return. If the .sh file is not set to open in terminal, use get info to set this. Now when you double-click the .sh file, it will run the command in a terminal and leave it open.