diff --git a/published/20210128 How to Run a Shell Script in Linux -Essentials Explained for Beginners.md b/published/20210128 How to Run a Shell Script in Linux -Essentials Explained for Beginners.md index c9db63357d..f2c5fd298c 100644 --- a/published/20210128 How to Run a Shell Script in Linux -Essentials Explained for Beginners.md +++ b/published/20210128 How to Run a Shell Script in Linux -Essentials Explained for Beginners.md @@ -126,7 +126,7 @@ Linux 命令(像 `ls`、`cat` 等)的二进制文件或可执行文件都位 > >![Bash Vs Zsh][12] > -> 使用 `#! /bin/bash` 来标识该脚本是 bash 脚本,并且应该使用 bash 作为脚本的解释器来运行,而不受在系统上正在使用的 shell 的影响。如果你使用 zsh 的特殊语法,你可以通过在脚本的第一行添加 `#! /bin/zs`h 的方式来标识其是 zsh 脚本。 +> 使用 `#! /bin/bash` 来标识该脚本是 bash 脚本,并且应该使用 bash 作为脚本的解释器来运行,而不受在系统上正在使用的 shell 的影响。如果你使用 zsh 的特殊语法,你可以通过在脚本的第一行添加 `#! /bin/zsh` 的方式来标识其是 zsh 脚本。 > > 在 `#!` 和 `/bin/bash` 之间的空格是没有影响的。你也可以使用 `#!/bin/bash` 。