Results 1 to 3 of 3
Hello, please help me!!! How to run a program for many times in a loop using bash?? Or maybe you could advise me a good tutorial to learn bush komands?! ...
- 03-05-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 9
Bash
Hello, please help me!!! How to run a program for many times in a loop using bash?? Or maybe you could advise me a good tutorial to learn bush komands?! please!!!please!!
- 03-05-2009 #2
- 03-13-2009 #3Linux Newbie
- Join Date
- Sep 2004
- Location
- UK
- Posts
- 160
i=0
n=30
while test $i -lt $n
do
echo $i
i=$((i+1))
done
replace "echo $i" with your command


Reply With Quote
