1.打开ubuntu终端,新建一个hello.sh

编辑hello.sh
#!/bin/sh
echo "hello world"
echo "bye"
保存文件
2.为hello.sh添加可执行权限

3.运行hello.sh
本文转载自: https://blog.csdn.net/m0_56256361/article/details/131484402
版权归原作者 camony 所有, 如有侵权,请联系我们删除。
版权归原作者 camony 所有, 如有侵权,请联系我们删除。