Linux shell while
-
sh
count=1
while [ $count -le 5 ];
do
echo 1234567890abcdefghqwertyuiopdasdk > /dev/ttyS1 &
echo 1234567890abcdefghqwertyuiopdasdk > /dev/ttyS3 &
echo 1234567890abcdefghqwertyuiopdasdk > /dev/ttyS5 &
echo 1234567890abcdefghqwertyuiopdasdk > /dev/ttyS7 &
echo 1234567890abcdefghqwertyuiopdasdk > /dev/ttyS9 &
echo 1234567890abcdefghqwertyuiopdasdk > /dev/ttyS11 &
echo 1234567890abcdefghqwertyuiopdasdk > /dev/ttyS13 &
echo 1234567890abcdefghqwertyuiopdasdk > /dev/ttyS15 &
sleep 1
let count+=1
echo $count
done
Read The Fucking Source Code