shell edit info...

This commit is contained in:
2024-08-19 00:06:29 +08:00
parent 8e22c02d6f
commit b05bf011a4
27 changed files with 130 additions and 107 deletions

View File

@@ -37,4 +37,24 @@ done
**保存脚本到/usr/local/bin目录下**
```bash
mv usage.sh /usr/local/bin/usage
```
### Shell脚本编写的基本信息
```bash
#! /bin/bash
# -------------------------------------------------
# Filename: test.sh
# Version: 1.0
# Date: 2024/05/02
# Author: shenjianZ
# Email: shenjianZLT@gmail.com
# Website: https://blog.shenjianl.cn
# Description: this is a test shell
# CopyRight: 2024 All rights reserved shenjianZ
# License GPL
# ------------------------------------------------
# Your script logic goes here
```