linux shell的hello,world
1、输入下面内容,保存命名为hello.sh
#!/bin/sh
echo “hello,world"
2、执行下面命令,添加可执行属性
chmod +x hello.sh
3、输入下面命令,执行脚本
./hello.sh
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:106
阅读量:122
阅读量:109
阅读量:168
阅读量:87