Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-18-2011, 09:28 PM   #1
LQ Newbie
Registered: Nov 2011
Posts: 3

Rep: Reputation: Disabled
Running scripts in parallel

I want to run several other shell scripts from this script to run them in parallel (not serially) the output of those scripts in different files and they should all show the date (in the saved files, not on screen)..

How can I modify the below script accordingly?

sqlplus -s performance/oracle@WAMS<<eof
set serveroutput on;
Old 11-18-2011, 09:59 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
If I understand you correctly, you should only need to push the individual tasks into the background by appending the "&" symbol to the end of the command.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running scripts in parallel Disha_Pandey Linux - Newbie 4 11-19-2011 09:57 AM
Parallel Shell scripts to execute using LAM?? vallme2003 Programming 6 03-12-2009 06:49 PM
How to execute two shell scripts in parallel Pavitra.v Linux - General 4 09-16-2006 06:59 AM
Parallel Execution Capable Scripts? irfanhab Programming 5 08-28-2004 07:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration