
Shell Script Batch Generate Continuous Numbers
The shell script generates sequential numbers in bulk, very simple and convenient, can be used as numbering
1
2
3
4
for ((i=1; i<101; i++))
do
echo $i
Done
Generate consecutive numbers from 1 to 100
1
2
3
4
for ((i=10; i<190; i++))
do
echo $i
Done
Copy the code directly to the shell terminal to run.
as shown below