古越剑箫

学习是一种习惯

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: :: 管理 ::

2020年8月26日

摘要: shell 相互引用 阅读全文
posted @ 2020-08-26 15:52 古越剑箫 阅读(219) 评论(0) 推荐(0) 编辑

摘要: 函数调用 阅读全文
posted @ 2020-08-26 15:47 古越剑箫 阅读(656) 评论(0) 推荐(0) 编辑

摘要: shell传参 阅读全文
posted @ 2020-08-26 15:46 古越剑箫 阅读(345) 评论(0) 推荐(0) 编辑

摘要: shell 流程控制语句 阅读全文
posted @ 2020-08-26 15:44 古越剑箫 阅读(172) 评论(0) 推荐(0) 编辑

摘要: shell test判断 阅读全文
posted @ 2020-08-26 15:43 古越剑箫 阅读(152) 评论(0) 推荐(0) 编辑

摘要: shell printf 阅读全文
posted @ 2020-08-26 15:41 古越剑箫 阅读(127) 评论(0) 推荐(0) 编辑

摘要: shell 数组 阅读全文
posted @ 2020-08-26 15:40 古越剑箫 阅读(108) 评论(0) 推荐(0) 编辑

摘要: shell运算符 阅读全文
posted @ 2020-08-26 15:37 古越剑箫 阅读(131) 评论(0) 推荐(0) 编辑

摘要: #!/bin/bash # shell 变量 echo "Hello World !" user_name=张三 #输出变量名 echo ${user_name} ###字符串拼接 echo "你好,"${user_name}"" echo "你好,${user_name}" #提取字符串长度 echo ${#user_name} #截取字符串,索引从0开始 address="... 阅读全文
posted @ 2020-08-26 15:36 古越剑箫 阅读(109) 评论(0) 推荐(0) 编辑