linux shell的hello,world

2025-04-24 18:54:32

1、输入下面内容,保存命名为hello.sh#!/bin/shecho “hello,world"

2、执行下面命令,添加可执行属性chmod +x hello.sh

3、输入下面命令,执行脚本./hello.sh

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢