gy2006_sw

关注

shell 脚本之循环输出多个语句

gy2006_sw

关注

阅读 48

2022-06-06

#!/bin/bash

for str in 'this is a string' 'she is beautiful girl' 'hello,world' do echo $str done 输出结果: this is a string she is beautiful girl hello,world

相关推荐

寒羽鹿

shell脚本之循环语句

寒羽鹿 58 0 0

查拉图斯特拉你和他

shell脚本详解—循环语句之while循环和until循环

查拉图斯特拉你和他 60 0 0

素的盐

44、shell脚本编程-循环语句

素的盐 193 0 0

汤姆torn

使用Shell脚本进行语句循环

汤姆torn 134 0 0

青乌

Bash Shell 脚本中的循环语句

青乌 30 0 0

敬亭阁主

3.7 Linux shell脚本编程(分支语句、循环语句)

敬亭阁主 50 0 0

捡历史的小木板

回顾Shell脚本的条件语句以及if循环

捡历史的小木板 79 0 0

老北京的热干面

shell循环语句

老北京的热干面 139 0 0

蛇发女妖

Shell脚本 if语句

蛇发女妖 33 0 0

Mezereon

shell 脚本if语句

Mezereon 114 0 0

精彩评论(0)

0 0 举报