Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

While loops in bash

#!/bin/bash
X=0
while [ $X -le 20 ]
do
	echo $X
	X=$((X+1))
done
Source by www.panix.com #
 
PREVIOUS NEXT
Tagged: #While #loops #bash
ADD COMMENT
Topic
Name
9+7 =