Page 1 of 1

How do I make an executable terminal file?

Posted: Mon Dec 17, 2012 5:44 pm
by Setro2
Hello,
I am sorry if I did not make myself clear enough in the title, couldn't fit it all, lol.
So, my question is how to make a file on my desktop, that when clicked, opens terminal and automatically enters a code, and executes that code.
All help is appreciated. :D
Specs:
Linux Mint 12
32-bit
Cinnamon

Re: How do I make an executable terminal file?

Posted: Mon Dec 17, 2012 5:53 pm
by Orbmiser
Can get better results with a simple google it.
https://www.google.com/search?q=shortcu ... +a+command

As can give you many insights into different ways to do it.
Then expecting a few here to show you.
Google is your best friend waiting to help you so you don't have to wait for a response from us here.
.

Re: How do I make an executable terminal file?

Posted: Mon Dec 17, 2012 5:54 pm
by mauler5858
Is the file marked as executable?

If not, open a terminal and type.....chmod 770 filename

Re: How do I make an executable terminal file?

Posted: Tue Dec 18, 2012 5:40 am
by mank_in
you can use gedit to create text file. save it. right click on file, select properties, on permission tab : check : allow executing file as program.
after that , just double click the file, select run in terminal.