摘要: Shell脚本入门 #编写hell.sh文件 .sh文件第一行,约定 #!/bin/sh echo "hello word" #启动hello.sh bash hell.sh #若想直接 ./hello.sh启动 ,需要给hello.sh添加执行权限 chmod +x hello.sh #不打开子s 阅读全文
posted @ 2023-03-07 09:42 h*z 阅读(42) 评论(0) 推荐(0) 编辑