Saving terminal commands and running them.
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Topics in this forum are automatically closed 6 months after creation.
Saving terminal commands and running them.
Is there a way to add some commands to say a text file and save it, then double click it and it opens terminal and runs those commands?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Saving terminal commands and running them.
Yes, there is. Look into bash scripting.
There is bash and script forum here on the Linux Mint forums: http://forums.linuxmint.com/viewforum.php?f=213
This might be a good thread to get you started: http://forums.linuxmint.com/viewtopic.php?f=213&t=77062
Good luck!
There is bash and script forum here on the Linux Mint forums: http://forums.linuxmint.com/viewforum.php?f=213
This might be a good thread to get you started: http://forums.linuxmint.com/viewtopic.php?f=213&t=77062
Good luck!
Re: Saving terminal commands and running them.
WOW - thank you so much, i read some of the articles and now there is SO much repetitive things that i have been doing that now i can just make a bash script for. Again, thank you!rocuronium wrote:Yes, there is. Look into bash scripting.
There is bash and script forum here on the Linux Mint forums: http://forums.linuxmint.com/viewforum.php?f=213
This might be a good thread to get you started: http://forums.linuxmint.com/viewtopic.php?f=213&t=77062
Good luck!
Re: Saving terminal commands and running them.
You're welcome. Scripts can definitely make your life a lot easier.wildboy211 wrote:WOW - thank you so much, i read some of the articles and now there is SO much repetitive things that i have been doing that now i can just make a bash script for. Again, thank you!
In case you haven't read about it already, look into using cron to automatically run your scripts or other tasks.
Re: Saving terminal commands and running them.
Not exactly what you mention, but...wildboy211 wrote:Is there a way to add some commands to say a text file and save it, then double click it and it opens terminal and runs those commands?
How about a nice GUI..?
I personally could not live without this one.
Clicompanion
http://www.ubuntugeek.com/clicompanion- ... buntu.html
Download
https://launchpad.net/clicompanion
Comes with pre-installed commands (most not all that useful, but you add your own, after time you will have MANY).