![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| URL call from SHELL script | chengwei | Shell Programming and Scripting | 35 | 10-21-2008 05:04 PM |
| Call shell script from php not run ? | raccsdl | Shell Programming and Scripting | 2 | 11-19-2007 05:21 AM |
| how can i call a shell script from pl/sql | rajesh.P | Shell Programming and Scripting | 3 | 09-16-2007 08:09 PM |
| how can a call shell script from pl/sql | rajesh.P | UNIX for Dummies Questions & Answers | 0 | 09-13-2007 11:42 PM |
| How to call a shell script from awk ? | Amruta Pitkar | Shell Programming and Scripting | 1 | 04-20-2007 01:35 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
shell script to call other files..plz help
Hi all,
I have a number of shell script,perl script.. etc in a directory,which i need to execute in some order.Now i need to create a script to call all these files in that order..so that the new script will execute all the files one by one....plz help this is urgent. Thanks In advance Anju Last edited by anju; 02-04-2008 at 11:07 PM. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Whatever scripts you want to run, write them in a file - the way you would execute them at command line
Write them in the order in which you want to execute them Your file may look like: Code:
#!/bin/sh script_01.sh script_02.sh script_03.pl |
|
#3
|
|||
|
|||
|
Check out the permissions of the scripts,if they are not executable then change the permissions and run it as Yogesh suggested.
|
|
#4
|
||||
|
||||
|
yes, and the first line in the scripts should begin with #! (something like #!/bin/bash or #!/usr/bin/perl - depending on the shell / language that you are using)
|
||||
| Google The UNIX and Linux Forums |
| Tags |
| perl script, shell script |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|