admin avatar

Shell Script Batch Generate Continuous Numbers

🕒 by admin





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





💘 相关文章

写一条评论

Based on Golang + fastHTTP + sdb | go1.18.3 Processed in 1ms