seq shell script
seq command enable to generate number sequence.
For Ex. If I want to generate 100 sequential numbers,the following command will do.
seq 100
Following shell script enable to link this command with for loop
seq command enable to generate number sequence.
For Ex. If I want to generate 100 sequential numbers,the following command will do.
seq 100
Following shell script enable to link this command with for loop
for i in $(seq 100) do echo "Welcome $i times" done
Reference:
http://www.cyberciti.biz/tips/how-to-generating-print-range-sequence-of-numbers.html
No comments:
Post a Comment