Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-07-2007, 01:29 AM   #1
LQ Newbie
Registered: Mar 2007
Posts: 15

Rep: Reputation: 0
executing multiple files (one after another) through shell script


i have about 10 different shell scripts (.sh files) to execute in a way that the second should start after the first one is completed and so on. can this be achieved through a shell script. so far, i have been doing this donkey work manually but i think there should be a better way to automate this process. i have the following files

i want to execute these files in a sequence so that mode1 executes first and when it is finished, it releases all the resources and the mode2 starts and so on..

Any help would be highly appreciated.

Old 07-07-2007, 02:31 AM   #2
Registered: Sep 2004
Location: Stockholm, Sweden
Distribution: Ubuntu, RedHat, SuSe, Debian, Slax
Posts: 102

Rep: Reputation: 15


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
Executing a shell script command!! vishamr2000 Programming 4 08-15-2005 01:33 AM
executing a script in multiple subdirectories jerryfreak Linux - Newbie 1 04-19-2005 09:34 PM
Need help with shell script - renaming multiple files NiallC Linux - Newbie 25 07-04-2004 11:45 AM
executing shell script on apache nooodles Linux - General 1 06-29-2004 02:51 AM
executing a shell script from C llama_meme Programming 2 04-01-2002 10:10 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:59 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