aspose file tools*
The moose likes Linux / UNIX and the fly likes How to execute Multiple .sh files from a single  .sh file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How to execute Multiple .sh files from a single  .sh file" Watch "How to execute Multiple .sh files from a single  .sh file" New topic
Author

How to execute Multiple .sh files from a single .sh file

karthik Suryanarayanan
Ranch Hand

Joined: Oct 07, 2009
Posts: 110

Hi Ranchers,

I want to run multiple .sh files from a single .sh file . I am new to Linux and want to learn more here. So could you guys guide me with some reference sites and materials for learning linux commands .

I have three files

A.sh
B.sh
C.sh

In C.sh , i will call


So is this enough or should i need to use any commands for performance related issues.


"Learning is a Culture where your Eagerness & Curiosity plays a major Role".
kuchiki byakuya
Greenhorn

Joined: Jan 20, 2011
Posts: 1
that should be correct. also make sure you have your shebang ( #!/bin/bash ) in A.sh and B.sh and make sure they are executable.
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

to performance:
If more shells might be executed simultaneously, you may start them in parallel:



http://home.arcor.de/hirnstrom/bewerbung
karthik Suryanarayanan
Ranch Hand

Joined: Oct 07, 2009
Posts: 110

Thank you very much Kuchiki and Stefan. Your comments are valuable to me.I tried those. It was working good. Thank you.
 
Don't get me started about those stupid light bulbs.
 
subject: How to execute Multiple .sh files from a single .sh file