shell
文章平均质量分 91
Serendipity_lxh
That is the meaning of pursuing dreams, that is the power of dreams, but the real dream is not to reach the end, but to enjoy the journey. If you can undill find that in the process of hard work, maybe your dreams will come true or not, but there will always be some greater things that will follow.
展开
-
shell
shell脚本课程目标一、随机数实战案例1二、嵌套循环三、阶段性总结1. 变量定义2. 循环语句3. 影响shell程序的内置命令4. 补充扩展expect四、综合案例实战案例2案例分析代码拆分最终实现实战案例3五、课后作业课程目标掌握for循环语句的基本语法结构掌握while和until循环语句的基本语法结构能会使用RANDOM产生随机数理解嵌套循环一、随机数bash默认有一个$RANDOM的变量 默认是0~32767。使用set |grep RANDOM 查看上一次产生的随机数ec原创 2021-05-19 21:09:49 · 236 阅读 · 0 评论 -
01_SHELL编程之变量定义
shell编程SHELL编程学习前奏1. 文件处理工具1.1 grep工具1.2 cut工具1.3 sort工具1.4 uniq工具1.5 tee工具1.6 paste工具1.7 tr工具小试牛刀2. 编程语言分类3. shell介绍5. bash基本特性变量的定义4. 总结SHELL编程该课程主要包括以下内容:① Shell的基本语法结构如:变量定义、条件判断、循环语句(for、until、while)、分支语句、函数和数组等;② 基本正则表达式的运用;③ 文件处理三剑客:grep、sed原创 2021-05-10 21:43:49 · 292 阅读 · 0 评论 -
01_SHELL编程前奏_小工具
Linux小工具一、文本处理工具1. ==grep工具==语法和选项2. ==cut工具==语法和选项3. sort工具语法和选项4.uniq工具5.tee工具6.diff工具语法和选项7. paste工具语法和选项小试牛刀二、bash的特性了解shell中的通配符熟悉grep、cut、sort等小工具和shell中的通配符的使用一、文本处理工具1. grep工具grep是**行**过滤工具;用于根据关键字进行行过滤语法和选项语法:# grep [选项] '关键字' 文件名常见选原创 2021-05-09 21:24:21 · 168 阅读 · 0 评论