Adding Multiple Commands to Launcher (cd & mono)
location: ubuntuforums.com - date: February 7, 2011
Okay, so I am trying to make a launcher under application/Games menu for OpenBVE. In this launcher I need it to run 2 commands in the terminal:
They are other options of installing the game, but I am doing the manual install with a launcher (before the get it from Software Center Spam begins).
This is currently the command I had setup:
cd /home/myusername/OpenBVE && mono OpenBve.exe
However, the terminal respond with a window:
There was an error creating the child process for this terminal
Failed to execute child process "cd" (No such file or directory)
I need the terminal to switch to the "OpenBVE" folder, and then mono the "OpenBve.exe".
Any help how to get the launcher to do those 2 commands in order please?
Multiple commands with input from gnome launcher
location: ubuntuforums.com - date: August 6, 2008
I'm trying to do multiple things with one button push of the launcher... Typing in the two commands separated by a semicolon directly into a terminal works fine, but I'm hoping to do something like this by just pushing one button.
I need to first log into ssh (with typing in the pass) and then start a non-daemon app after typing in my ssh pass.
I've tried creating a launcher and putting the commands in directly, separated by a semicolon. I've also tried running the command "gnome-terminal -x <my commands>". The last thing I tried was to create a gnome-terminal profile for the commands and run it with the option to keep the window open... all to no avail.
I searched the forums for similar problems, and tried multiple suggestions, etc, but none worked for my particular problem unfortunately.
run multiple commands in Ubuntu server terminal
location: ubuntuforums.com - date: July 1, 2012
I am using Ubuntu server for running avserver (ffmpeg) and stream after booting. But I can't figure out how to make both run automatically (either boot time or later).
command "avserver" needs to run first, and then avconv -f .........
I tried with bash scripts. Having both at the same scripts but avserver won't return the command line so avconv will be never executed (I used $(....);$(....). I tried with screens:
"screen -dmS AVserver avserver" and
"screen -dmS AVconv avconv -f alsa-i................" and not luck
Then I tried them in different scripts at boot time with
"sudo update-rc.d avserver defaults"
"sudo update-rc.d bash './myscript.sh' defaults"
and setting them with different start/stops such as
"sudo update-rc.d avserver start 20 2 3 4 5 . stop 80 0 1 6."
"sudo update-rc.d bash 'myscript.sh' start 30 2 3 4 5 . stop 70 0 1 6."
but not luck...
Can anyone give me more ideas? I am running out (I am new to t
How to execute multiple commands via SSH in a script
- date: October 10, 2011
I need to run several commands on a remote machine via ssh, but I want to do so in a script since there are many machines. Also, none of the commands require user feedback, so that simplifies it a bit.
Here is pseudo code of what I'm trying to do
ssh [email protected]
Any suggestions on how to do this?
[SOLVED] Single command to run multiple commands on ssh
- date: October 14, 2013
I have an requirement to run multiple commands over ssh.
1.I need to connect one server using ssh
2.Then i need to run sftp [email protected]
3.Then I want to download single *.zip file to local dir and then i want to scp fetch that file from remote server to my local machine.
i know the individual commands but i need to run with single or couple commands
I am new to scripting kindly help me
Running multiple commands remotely via SSH in a script
location: linuxquestions.com - date: December 18, 2009
In a script I am writing I am trying to add logic so that the script can figure out if a remote server uses rpm or dpkg and then run the appropriate command to print a list of installed packages. This works locally, but I need to get it to work through SSH and I have no idea how to do that. The relevant portion of the script is below. It would also be nice to find a way to not need the full path to the executables but I'm not real concerned about that.
So anyone know how to make this code work via SSH?
Adding multiple ssh keys to kwallet
location: ubuntuforums.com - date: September 2, 2012
I have two ssh keys that I would like to have automatically unlocked when I log in. I have this script in ~/.kde/Autostart
This works perfectly for my first key (id_rsa) but I cannot get it to unlock a second key (id_rsa.2) I even manually added an entry in kwallet under ksshaskpass but it still doesn't unlock it. What am I missing?
[SOLVED] expect help (multiple commands in argument)
location: linuxquestions.com - date: March 12, 2010
I am stuck in between an expect script.
Here is my code.
Multiple commands using xterm?
location: linuxquestions.com - date: April 16, 2009
Is there a way to run multiple commands using xterm?
This is what I'm trying to do...
Open a new window and ssh into the machine spc10
Multiple Commands in Single Line
location: ubuntuforums.com - date: August 22, 2007
I know ; and && can be used to put multiple commands into a single line, but they don't always work.
How do you have a single line command were it runs to programs at the same time even if the other one runs or fails to run.
conky ; avant-window-navigator
or the && variant will only run the command that is first (either conky or AWN depending on which is first)
Also when replacing window managers (eg metacity --replace) the commands stop there and don't continue.
How can I get round this?
Page: 1 2 3 4 5 6 7 8 9 10