Shell while
#!/bin/bash
while [ condition ]
do
command1
command2
command3
done#!/bin/bash
while true
do
echo $(($RANDOM%10+1)) >> top.log
sleep 3
doneLast updated
#!/bin/bash
while [ condition ]
do
command1
command2
command3
done#!/bin/bash
while true
do
echo $(($RANDOM%10+1)) >> top.log
sleep 3
doneLast updated