网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

linux shell的hello,world

时间:2024-10-20 19:20:16

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

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

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

© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com