![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| calling a script from a level above where the script resides | SummitElse | UNIX for Advanced & Expert Users | 2 | 10-26-2007 06:27 AM |
| Box A's perl script calling box B's shell script | new2ss | Shell Programming and Scripting | 1 | 09-13-2006 03:17 AM |
| calling dos2unix on shell script from within the script | vino | Shell Programming and Scripting | 4 | 04-08-2005 12:38 AM |
| Calling a script from another | dnkansah | Shell Programming and Scripting | 5 | 09-02-2004 04:02 AM |
| Calling C from within a csh script | barisgultekin | Shell Programming and Scripting | 2 | 05-24-2002 06:21 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
calling a script from another
hi ...
i need to call a unix script depending up on some condition from a unix script which is already running. please help |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
this had been answered many times,
please search the forum Code:
#! /bin/zsh i=1 while [ $i -lt 10 ] do /anotherdir/anotherscript i=$(($i + 1)) done exit 0 |
|
#3
|
|||
|
|||
|
#!/bin/bash
#let 'copy' is ur unix script u want to call from this program if sendmail #service is enabled in ur system ${Mail:=`ps -ef | grep sendmail| grep -v "grep"`} if [ $? -eq 0 ] ; then copy #executable present in the same directory else echo "service not enabled" fi echo "bye" |
|||
| Google The UNIX and Linux Forums |