Linux下面用命令如何运行.sh文件的方法。
材料/工具
windows、来自linux 、xshell
方法
以hello.sh文件为例
chmod u+x hello.sh
./hello.sh 即可执行hello程圆注快停念统.sh文件
sh hello.sh即可执行hello.sh文件
Linux下面用命令如何运行.sh文件的方法。
windows、来自linux 、xshell
以hello.sh文件为例
chmod u+x hello.sh
./hello.sh 即可执行hello程圆注快停念统.sh文件
sh hello.sh即可执行hello.sh文件