shell脚本 if until case while用法 批量创建用户实例

Case实例 read:接受用户输入命令(常用)1、-p:提示信息;read -p “提示信息” a; for遍历: for循环,遍历性,先执行1.sh,可执行的话输出1.sh可执行,否则chmod+x 再遍历 2.sh 3.sh While 语法格式 while command do Statement(s) to be executed if command is true Done 示例-增
相关文章
相关标签/搜索