Shell脚本快速入门

为什么要学shell?能做什么?

答:CI/CD 持续集成,自动化部署作业方式,需要将一系列linux命令程序化,shell 就能做到,提高运维人员的工作效率。

指定解析器:
(1) shell解析器 # !/bin/bash
(2) python解析器 # !/usr/bin/python
新建shell文件默认没有执行权限: chmod 777 hello.sh
相关推荐
EverydayJoy^v^7 天前
Linux Shell 高级编程(3)——awk
linux·运维·shell
dingdingfish10 天前
Bash学习 - 第10章:Installing Bash
bash·make·shell·install·configure·5.3
dingdingfish11 天前
Bash学习 - 第8章:Command Line Editing,第6-8节:Programmable Completion
bash·shell·completion·complete·compgen·compopt
白云偷星子12 天前
RHCSA笔记3
shell
dingdingfish12 天前
Bash学习 - 第7章:Job Control
bash·shell·wait·job
dingdingfish13 天前
Bash学习 - 第8章:Command Line Editing,第1-2节:Intro & Readline Interaction
bash·shell·readline
only_Klein13 天前
Shell 三剑客
shell·sed·grep·awk
dingdingfish14 天前
Bash学习 - 第6章:Bash Features,第12节:Shell Compatibility Mode
bash·shell·compat·compatibility
alanesnape14 天前
一个支持在线deBug的编辑器/调试器功能详解
shell·在线编译器·在线debug
dingdingfish15 天前
Bash学习 - 第6章:Bash Features,第10节:The Restricted Shell
bash·shell·rbash·restrict