![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | 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 | 33 | 1 Week Ago 06:21 AM |
| Call shell script from php not run ? | raccsdl | Shell Programming and Scripting | 2 | 11-19-2007 04: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 |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 10:07 PM. |
| Forum Sponsor | ||
|
|
|
|||
|
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 |
|
|||
|
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 UNIX.COM |
| Tags |
| perl script, shell script |
| Thread Tools | |
| Display Modes | |
|
|