![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| linux reverse page order+duplex is not working | uttamhoode | UNIX for Advanced & Expert Users | 0 | 06-02-2008 07:06 AM |
| Start and stop of an application thru shell scripts. | sadha | Shell Programming and Scripting | 1 | 05-08-2006 10:36 AM |
| Start Stop Apache | MILLERJ62 | AIX | 2 | 12-27-2005 05:40 PM |
| sort a file in reverse order | frustrated1 | Shell Programming and Scripting | 11 | 09-21-2005 04:41 PM |
| using sed and regex to reverse order??? | urtherhoda | UNIX for Dummies Questions & Answers | 2 | 10-13-2004 11:57 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Stopping Start/Stop scripts in reverse order
#Define the Start/Stop/Status Scripts to include
SSS_SCRIPTS=( prog1 prog2 prog3 etc...... ) #Start the scripts StartScripts() { for SSS in ${SSS_SCRIPTS[*]} do ./$SSS start done } #Stop the Scripts StopScripts() { for SSS in ${SSS_SCRIPTS[*]} do ./$SSS stop #<---I want it to stop in reverse order eg: Prog3 Prog2 Prog1.... done Any help appreciated madasafish |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|