Bash loop tricks
Jump to navigation
Jump to search
Simple counter loop
for ((i=1; i <= $max ; i++)) do echo $i done
$max can be a number also.
for ((i=1; i <= $max ; i++)) do echo $i done
$max can be a number also.