例子:
输出一段连续的IP地址
192.168.30.10
.11
...
...
...
.33
192.168.30.34
解答:
for i in 192.168.30.{10..34};do echo $i;done
时间: 2024-10-12 13:58:00
例子:
输出一段连续的IP地址
192.168.30.10
.11
...
...
...
.33
192.168.30.34
解答:
for i in 192.168.30.{10..34};do echo $i;done