
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
💘 相关文章
- 備份Linux系統的shell腳本
- 使用shell脚本监控硬Raid并配置MegaCli監控硬碟健康报警发送邮件
- 一些常用非常優秀的shell工具大全
- shellcheck 幫助新手的你寫出更好的shell腳本
- 查看當前使用的shell的多種方法
- mac os brew "shell-init: error retrieving current directory"的解决方法
- shell腳步監控SoftRaid的N種寫法分享
- shell彩色终端的实现方法
- Configure nginx to only allow cloudflare's IP to connect to the server shell script
- shell清空檔案文件所有字符的多種方法