> For the complete documentation index, see [llms.txt](https://sugar-at.gitbook.io/blog-article/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sugar-at.gitbook.io/blog-article/shell.md).

# shell

记录shell学习笔记

## QuickStart

hello.sh

```
#注释内容
#!/bin/bash
#author:sugar
#time:2019-12-24 16:00:00
#description:this is the first shell

echo "hello world"
```

赋予执行权限

```
chmod u+x hello.sh
```

执行

```
./hello.sh
```

输出

```
hello world
```
