vxworks 脚本应该有哪个结尾?

发布于 2024-11-27 19:39:27 字数 98 浏览 5 评论 0原文

我想自动执行一些shell命令,但我不知道脚本必须以哪种格式编写。

.sh、.bat ....?

有人可以帮我解决这个问题吗?

多谢

I want to execute some shell commands automatically, but I don't know in which format the scripts must be written.

.sh , .bat ....?

Can anybody help me with this problem?

Thanks a lot

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

岁月蹉跎了容颜 2024-12-04 19:39:27

每行只需一个命令。无需扩展。
您必须使用重定向运算符来执行脚本。

-> < myCommandScript

Simply one command per line. No extension needed.
You have to use the redirection operator to execute your script.

-> < myCommandScript
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文