Shell脚本笔记
Shell脚本入门到实战脚本格式 #!/bin/bash 开头(指定解析器)创建Shell 脚本: helloworld需求创建一个Shell 脚本,输出helloworld操作 先创建 datas 文件夹 如何创建 helloworld.sh文件,并写入helloworld内容touch helloworld.shvim helloworld.sh进入后#!bin/bashecho "helloworld" 双引号后面加你要输出的内容。执行方式:第一种采取bash or sh+脚本的相对路径或者绝对
原创
2022-06-01 00:05:10 ·
240 阅读 ·
0 评论