67

linux的shell脚本介绍、shell脚本结构和执行、date命令用法、shell脚本中的变量-Gary...

 6 years ago
source link: http://blog.51cto.com/taoxie/2069137
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Shell脚本介绍shell是一种脚本语言可以使用逻辑判断、循环等语法可以自定义函数shell是系统命令的集合shell脚本可以实现自动化运维,能大大增加我们的运维效率Shell脚本结构和执行开头需要加#!/bin/bash以#开头的行作为解释说明脚本的名字以.sh结尾,用于区分这是一个shell脚本执行方法有两种,加执行权限chmod+x1.sh;1../1.sh2./root/shell/01

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK