bash for loop

I.Ioannou roryt at roryt.gr
Sat Mar 10 20:25:02 EET 2001


On Sat, Mar 10, 2001 at 06:08:55PM +0000, Alex wrote:
> 
> anti gia to ekshs aparadekto (pou einai axrhsto gia megala plh8h):
> 
> for i in 1 2 3 4 5 6 7 8 9 10

#!/bin/sh
let i=1
while [ $i -le 10 ]
do 
 tar xvf file$i.tar
done


roryt



More information about the Linux-greek-users mailing list