for i in {1..40} do echo $i done
我有
{1..40}
我想要一些类似的东西
1 2 3 and so on
所以我可以i在命令的参数中使用变量。
i
shell bash shell-script brace-expansion
bash ×1
brace-expansion ×1
shell ×1
shell-script ×1