摘要: Shell 流程控制 1. 判断语句 1.1 if判断 if else-if else 语法格式: if condition1 then command1 elif condition2 then command2 else commandN fi 或者: if [ 条件判断式 ];then 程序 阅读全文
posted @ 2020-09-02 10:20 叮叮叮叮叮叮当 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 包管理工具 1. RPM包 RPM:RedHat Package Manager,红帽软件包管理工具。 Linux分发版本都有采用(suse,redhat,centos等) 1.1 rpm指令 1.1.1 查看指令 RPM查询已安装的rpm列表:rpm -qa | grep xx 查看是否安装fir 阅读全文
posted @ 2020-09-02 09:51 叮叮叮叮叮叮当 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 定时任务调度 1. 任务调度原理 crond任务调度:crontab进行定时任务调度 使用方法:crontab [选项] crontab [选项] -e:编辑crontab定时任务 -i:查询crontab任务 -r:删除当前用户所有的crontab任务 -l:列出当前有哪些任务调度 service 阅读全文
posted @ 2020-09-02 09:45 叮叮叮叮叮叮当 阅读(155) 评论(0) 推荐(0) 编辑