摘要: 第一个shell脚本: #!/bin/bashecho "hello world" 运行shell脚本的三种方法: 方法1:chmod +x ./test.sh;./test.sh -作为可执行程序,需要执行权限 方法2:source test.sh -在当前 bash 环境下读取并执行文件中的命令 阅读全文
posted @ 2020-03-12 19:29 Coding练习生 阅读(419) 评论(0) 推荐(0) 编辑