2016年7月21日

shell--流程控制

摘要: if else-if else语法格式: if condition1 then command1 elif condition2 then command2 else commandN fi 注:格式类似于Python,末尾加fi for循环格式: for var in item1 item2 .. 阅读全文

posted @ 2016-07-21 10:23 Lsec 阅读(114) 评论(0) 推荐(0) 编辑

shell--test

摘要: 数值测试 字符串测试 文件测试 阅读全文

posted @ 2016-07-21 09:47 Lsec 阅读(119) 评论(0) 推荐(0) 编辑

shell--printf

摘要: printf的转义序列 格式替代符类似于Python 阅读全文

posted @ 2016-07-21 09:23 Lsec 阅读(156) 评论(0) 推荐(0) 编辑

导航