shell edit info...
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user