脚本之家,脚本语言编程技术及教程分享平台!
分类导航

Python|VBS|Ruby|Lua|perl|VBA|Golang|PowerShell|Erlang|autoit|Dos|bat|shell|

服务器之家 - 脚本之家 - shell - shell实现数字打印从100到200的数

shell实现数字打印从100到200的数

2022-12-13 12:12shell编程教程 shell

按顺序打印从100到200的数的shell脚本,需要的朋友可以参考下

复制代码 代码如下:

#!/bin/bash
#name: print number from 100 to 200
for i in $(seq 100 200)
do
echo $i
done

延伸 · 阅读

精彩推荐