-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
11.6 Linux shell 用for循环100次的方法 #73
Comments
C语言风格 for ((i=1; i<=100; i++))
do
echo $i
done
|
Python风格(in的使用) for i in {1..100}
do
echo $i
done
|
Seq的使用 for i `seq 1 100`
do
echo $i
done
|
while i=0
times=100
while [ $i -le $times ]
do
let 'i++'
echo $i
done
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Linux shell 用for循环100次的方法
https://blog.csdn.net/wr339988/article/details/70768499
The text was updated successfully, but these errors were encountered: