shell脚本之for循环
#! /bin/bash echo what programming lanuages do you know? for i in python C# java ruby perl do echo i know : $i done
[root@lenny Desktop]# ./for.sh what programming lanuages do you know? i know : python i know : C# i know : java i know : ruby i know : perl
posted on 2016-12-10 11:41 leonardhelloworld 阅读(317) 评论(0) 编辑 收藏 举报