![]() |
|
|
|
|
|||||||
| 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 |
| Run script at same time | Jamil Qadir | Shell Programming and Scripting | 3 | 03-07-2008 11:00 AM |
| run script in autosys at a specified time. | gram77 | UNIX for Advanced & Expert Users | 1 | 03-06-2008 01:24 PM |
| Preventing script to run at the same time. | cronboss | UNIX for Advanced & Expert Users | 3 | 11-26-2007 09:48 AM |
| First time help, please - checksum script... | kapolani | Shell Programming and Scripting | 6 | 10-06-2004 09:22 AM |
| Please Help ( Calculate time taken in a script) | sanjay92 | UNIX for Dummies Questions & Answers | 9 | 10-02-2001 11:20 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
| Forum Sponsor | ||
|
|
|
||||
|
Code:
#!/bin/ksh
time ( command1 && \
command2 && \
command3 && \
commandn )
exit 0
Peter's solution above is guaranteed to work on all shells so is the solution I'd personally go for. Ta, ZB |