Shell Script Batch Generate Continuous Numbers

Friday, Mar 6, 2020 | 1 minute read | Updated at Friday, Mar 6, 2020

@

The shell script generates sequential numbers in bulk, very simple and convenient, can be used as numbering

for ((i=1; i<101; i++))
do
echo $i
Done

Generate consecutive numbers from 1 to 100

for ((i=10; i<190; i++))
do
echo $i
Done

Copy the code directly to the shell terminal to run.

as shown below

© 2018 - 2026 vpslala

🌱 Powered by Hugo with theme Dream.