sh sh和zsh文件Unix

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh sh和zsh文件Unix相关的知识,希望对你有一定的参考价值。

Linux scripts are sh or zsh


vi test1.sh

First, the most common is to write a file, make sure the first line is
#!/bin/bash
chmod +x test1   # make this an executable

run using 

./test1.sh

以上是关于sh sh和zsh文件Unix的主要内容,如果未能解决你的问题,请参考以下文章