脚本应指向符号链接

发布于 2025-02-12 22:20:22 字数 99 浏览 0 评论 0原文

我有一个用于在udeploy中部署软件包的shell脚本,我想将我的符号链接添加到该过程中,即在udeploy中开始运行我的脚本时,我的脚本应首先引用符号链接,然后根据环境应执行的环境

I have a shell script which is used to deploy packages in udeploy I want to add my symlink to that shell i.e when the process is starting to run in udeploy my script should first refer the symlink and then according the environment it should get executed

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

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

发布评论

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

评论(1

你曾走过我的故事 2025-02-19 22:20:22

这个问题还不清楚。您到底想做什么?

也许您想使用ln -s源目标 create symlink。或使用readlink -f链接检查Shell中的符号源

This question is quite unclear. what exactly you want do?

Maybe you wanna use ln -s SOURCE TARGET create symlink. or use readlink -f LINK to check the source of a symlink in shell

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