Ubuntu :: Combine Multiple Commands In Sequence In Background?

Jul 26, 2010

I like background commands in scripts:

Code: sudo apt-get update& I also like multiple commands in scripts:
Code: sudo apt-get update && sudo apt-get upgrade

How would I combine these? Could I do it with functions?

View 9 Replies


ADVERTISEMENT

General :: Doing A Sequence Of Commands In A Bash Script?

Dec 2, 2010

I'm creating a bash script that contains the following line:"ssh user@$server1 cd /tmp; pwd"What I want is to print /tmp of server1, but the script it isn't printing that

View 2 Replies View Related

Hardware :: Combine Multiple Computers Into 1 Box?

Dec 28, 2010

I have a very old machine running Linux (Fedora 12) with 2 harddrives and a DVD RW. I also have a newer Dell computer running XP. I would like to take the 2 harddrives and DVD RW from the older machine and put them into the available slots in the Dell computer and configure it for dual booting.

View 2 Replies View Related

Ubuntu Installation :: Combine Multiple System Distributions?

Jun 28, 2010

How do you combine multiple Linux distributions live cd's or non install CD on one DVD or CD if your on Windows?
I would like to combine some minor Linux distributions: Gos and puppy acrade 6 and more on one DVD so I can spare money and place.

View 2 Replies View Related

General :: How To Combine Multiple Text Files

Mar 22, 2011

Combine multiple text files into one text file?

View 5 Replies View Related

General :: Adjust And Combine Multiple Lower Quality Photos Into One Better Using FOSS?

Mar 12, 2011

I have multiple noisy photos (caputed without tripod) that needs to be adjusted (moved/rotated) and averaged.

How it's better to do it in Linux with FOSS console-based programs?

Current way is something like:

mplayer mf://*.JPG -vo yuv4mpeg:file=qqq.yuv
transcode -i qqq.yuv -y null -J stabilize=maxshift=500:fieldsize=100:fieldnum=6:stepsize=50:shakiness=10
transcode -i qqq.yuv -J transform=smoothing=100000:sharpen=0:optzoom=0 -y raw -o www.yuv

Update: Experimented with "Hugin". It only distorted all photos according some "projection" and refused to merge them: enblend: excessive overlap detected; remove one of the images. Of course "excessive" - they're all almost in the same place. No averaging? /* and images are not actually aligned */.

Proceeding to experiments with enblend/panorama_tools/ale.

View 3 Replies View Related

Ubuntu :: Combine Multiple Folders Into One "folder" Similar To Way That Windows7 Does Libraries?

Jan 23, 2011

Is there a way to combine multiple folders into one "folder" similar to the way that Windows7 does Libraries? That way movies, for instance, would be able to be distributed on multiple drives, but appear in one place, when wanted. sort of like mounting multiple folders on on one mount point.

View 6 Replies View Related

Ubuntu :: Multiple Commands At The Terminal?

Jan 21, 2010

I am in the process of coverting some video files to motion jpeg (Wii) files with ffmpeg (great program by the way). I have been successful and so the majority of my work is over. My question is simple (I think) but complex to me so... here it goes. Is there a way on one command line to "batch" convert 8 or 9 files together instead of one by one. I just don't know what to put on the command line. I took one UNIX class a long time ago and the terms pipe and such come to mind... but I forget. Any takers? That was I can write what I want the computer to do in the morning and just come back after work and voila...

View 6 Replies View Related

Ubuntu :: Application Launcher With Multiple Commands

Jan 27, 2011

I created a application launcher (type:terminal) to replace the index.php on my apache server (/var/www/) with the index I keep updated on my desktop.

This is the exact script I'm using on the launcher:

My idea was the launcher would delete the current file at /var/www/, and then copy the file on /home/andre/Desktop.

But its not behaving properly, it is deleting both the file in my /var/www/ AND my desktop.

View 2 Replies View Related

Ubuntu :: Gnome-terminal -e <multiple Commands>

Sep 1, 2011

With xterm, I can do the following, and the scripts are executed sequentially in a single xterm: xterm -e 'script1.sh;script2.sh' But with gnome-terminal, when I do: gnome-terminal -e script1.sh;script2.sh It runs them in parallel in 2 different terminals. I've tried a few combinations of ", and ', around the scrips, but no difference.

View 2 Replies View Related

Ubuntu :: Keyboard Shortcuts: Using PIPE For Multiple Commands?

Aug 28, 2010

Searched the forums for solution & am not seeing oneWrote a simple script to find Trash folders on Lucid and delete them

Code:
#!/bin/bash
sudo find / -regex ".*Trash[-]?[0-9]+?" | while read -e line

[code]....

View 1 Replies View Related

Ubuntu :: Simultaneously Run Multiple Commands From Bash Script?

Sep 21, 2010

I'm trying to write a bash script that will simultaneously ping a host and execute a traceroute at the same time. I would like the results to output to a text file.

View 6 Replies View Related

Ubuntu :: Adding Multiple Commands To Launcher (cd & Mono)

Feb 7, 2011

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:

Code:
cd /home/username/OpenBVE
and
Code:
mono OpenBve.exe

[Code]....

View 4 Replies View Related

Software :: Can't Get Head Around The Commands Or How Multiple?

Jan 11, 2011

I'd like to convert some of my backed up ripped DVDs to an .avi with separate subtitle file. I have been looking at MEncoder but I can't get my head around the commands or how multiple .VOB files become a singular .avi file.

View 2 Replies View Related

General :: How To Execute Multiple Commands When Using Find

Jan 22, 2011

I'm trying to run multiple commands on things I have found, how can I achieve this? find . -exec cmd1; cmd2 does not seem to work; it instead runs cmd2 after cmd1 has been executed on every file.

View 2 Replies View Related

Applications :: Writing Commands To Multiple Sessions?

Jul 12, 2010

I am using putty to connect to some servers. Is there a program that let you connect to say three servers and when you write your commands to server1, server2 & 3 also gets the command? So I don't have to log in to all three servers to do the exact same thing.

View 2 Replies View Related

Debian :: Multiple Commands Displayed On A Command Line?

May 21, 2011

I am trying to get 2 things to operate on the same line, for example echo Current Version: [cat /file/ver.txt] is there a way to do this?

View 1 Replies View Related

General :: Running Multiple Commands Remotely Via SSH In A Script?

Dec 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?

Code:
if [ -x /usr/bin/dpkg ]; then
dpkg --get-selections

[code]...

View 4 Replies View Related

Software :: Make A GUI Interface That Uses Multiple Programs And Commands?

Jan 11, 2010

I am curious of how to make a GUI interface that uses multiple programs and commands. I have found wxwidgets as the most likely candidate for making my own interface.Is this the best programming language for a beginner?

View 3 Replies View Related

General :: Redirect Stdout/stderr Of Multiple Commands In One Shot?

Jun 3, 2011

I have several commands in a bash script, and in the middle of the script there are several commands whose output and error streams I want to redirect to a file. I think I could simply add '>> myfile.txt' to the end of every command, but is there a way to set it before that block of commands, then reset the streams to their original state at the end of that block?

View 1 Replies View Related

Programming :: Make Delays Between Multiple Commands In An Alias (ircII)?

Sep 21, 2010

Okay so I have an alias that looks like this:

Code:
ALIAS sorigin {
MSG sorigin Test1

[code]...

View 1 Replies View Related

General :: SVN Multiple Commands Single Revision - Add New Folders (with Contents) To The Repository?

Jun 18, 2010

I want to do something like svn add dir1 dir2; svn ci dir1 dir2 but have it be only 1 revision. Is there a way to do this? Is this the correct way to add new folders (with contents) to the repository? We are restructuring the trunk, so I cleared it out and plan on putting these directories with their contents in it.

View 1 Replies View Related

Ubuntu :: GNU Screen In Startup Screen: Multiple Commands

Aug 4, 2010

I am searching for a way to run multiple commands at boot time using the gnu screen utility.

A solution could be:

But the result would be many sessions, each one with just one child. What I need is just one session with many children, one child per command.

View 2 Replies View Related

Ubuntu :: Boot Up The Machine The Cube Background Image Goes Away And The Background Colour Is Left?

Apr 15, 2011

Anyone know why each time I boot up the machine the cube background image goes away and the background colour is left. This image i am placing is in Apparency/Skydome

View 2 Replies View Related

Debian :: "xterm -e [multiple Commands]"?

Jun 28, 2011

I'm looking for a way to use "xterm -e" with multiple commands. (the -e option set the beginning program of xterm session)I have a script like this:

echo "answer? "
read answer_a
if [ $answer_a = 'y' ]

[code]...

View 7 Replies View Related

Ubuntu Installation :: Combine SD Card And SSD?

Jul 26, 2010

I have an Acer Aspire One ZG5 running Ubuntu NBR 10.04 with an 8 GB SSD and an 8 GB SD card. Is there a way to combine the SD card and SSD so that Ubuntu sees it as one 16 GB drive. I currently have everything installed on the SSD.

View 8 Replies View Related

Ubuntu :: Combine The 3 Drives Under Extended

Aug 27, 2010

how would I combine the 3 drives under extended. Im have issues having no drive space. so I removed some old installations and re format them but I dont know how to combine them so that their under one /home

View 9 Replies View Related

Ubuntu :: GDM Background - Cannot Change The Background Image To Any Of Mt .jpg Wallpaper Files And .png Files

Apr 3, 2011

I have spent the most part of 5 hours trying to fix this issue. For some reason I cannot change the background image to any of mt .jpg wallpaper files (and .png files). I've tried using the Ubuntu-Tweak application, but I end up getting a purple screen (default) or a black screen (default). So then I tried using the terminal method by making the Appearance window appear when I would log out. That works, except when I go to use my background image, it shows as a question mark for the image preview, and the icon for the file is a gray box. All while doing this my background images that I tested are all in the /usr/share/backgrounds location. Please help! I really want to get rid of the default images and use my images... :/ My desktop/screen in 1440x900, and most my background images are around that size. They work with my regular desktop for my account.

View 3 Replies View Related

Programming :: How To Combine A And B To C

May 12, 2010

Code...

how to combine a and b to c

View 8 Replies View Related

Ubuntu :: Combine Columns In Text Files?

Feb 15, 2010

I have two files which I would like to combine. Each file has 2 columns.

File 1:
1 a
2 b

[code]...

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved