Linux基础(学习笔记三)

循环语句 for语句 for循环通常格式为:linux   for var in item1 item2 ... itemN do     command1     command2     ...     commandN doneshell   案例:bash #!/bin/bash函数 for num in 1 2 3 4 5 do     echo "The value is: $num"
相关文章
相关标签/搜索