how to execute my program
| From: | Horizon | Date: | Tue, 08 Aug 2000 13:34:46 +0000 |
| Subject: | how to execute my program | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10676@lists.php.net to get a copy of this message | ||
i am having a shell file which i want to execute in my php file.
here is my code.
#!/bin/bash
#IF loop
initial=0
for i in
find -name "Guest*" | cut -c 8-12
do
if [ $i -ge $initial ]
then
initial=echo $i
actual0=echo $initial
fi
done
actual=expr $actual0 + 1
mkdir Guest$actual
help me.
vijayakumar.b