PDA

View Full Version : [SOLVED] Need links that run terminal commands?



Garland Fox
November 23rd, 2011, 03:06 AM
Newbie here - let me know if this is correct forum for this.
I have 6 to 9 terminal one-line commands that I need shortcuts to run from the UNITY desktop or HOME folder. Single Commands. Need single click to run.
Would that be a bash script or what. I have no idea of simplest way to run a one-line terminal command using a graphical link.
Thanks. (11.10 Oneiric)

Vaphell
November 23rd, 2011, 04:30 AM
http://shuffleos.com/3274/how-to-create-desktop-launchers-in-ubuntu-11-10-oneiric-ocelot/
put your commands in a script and use it in your custom launcher.

Garland Fox
November 23rd, 2011, 09:14 AM
Thanks for the reply - Your avatar looks cool.

Garland Fox
November 23rd, 2011, 10:15 AM
This is neat - Great to get the desktop launchers back...
Tried em but they wont run terminal commands.
I don't know if they would run scripts or not. I am too newbie yet.
Thanks much for the launcher info - that is great.

Garland Fox
November 25th, 2011, 02:31 PM
http://shuffleos.com/3274/how-to-create-desktop-launchers-in-ubuntu-11-10-oneiric-ocelot/
put your commands in a script and use it in your custom launcher.

I have been cracking the book on the bash pages. I am a little confused. The bash interpreter is what is used by our Ubuntu Terminal...Correct?
Or is the bash command line different from what we see in Terminal?
Thanks to clarify.

nothingspecial
November 25th, 2011, 02:38 PM
Bash is the default shell in Ubuntu but there are others such as zsh. So yes, unless you change your default shell, when you open your terminal in Ubuntu you are using bash.

Garland Fox
November 25th, 2011, 04:02 PM
Thanks that is what I was wanting to confirm...

Garland Fox
November 28th, 2011, 03:20 AM
Thanks that is what I was wanting to confirm...

Finally got this one figured out...
Put quote marks around the entire mount command.
Newbie slowly gets it...
Solved.