gpt4 book ai didi

linux - 腻子 : Execute a shell script onto the host machine

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:54:18 26 4
gpt4 key购买 nike

我想通过 Putty 在 Ubuntu 机器上执行 shell 脚本。

问题是,如果我使用连接到机器上运行的 session (相同用户名)的腻子执行脚本,它会在腻子 session “内部”执行,如果我关闭腻子窗口,程序将停止执行(tracd在这种情况下)

我想在主机上打开的 session 上启动 tracd, ionic 命令让程序在我停止我的 putty session 时继续运行....

感谢您的回答!

最佳答案

您可能想使用 GNU screen为了那个原因。这样,关闭 ssh session 将使 tracd 在服务器上运行。连接到服务器后,启动屏幕,然后从其中进行跟踪。下次连接到服务器时,只需键入 screen -r 即可返回到正在运行的程序。

有关如何使用它的更多详细信息,请参阅屏幕手册页。

关于linux - 腻子 : Execute a shell script onto the host machine,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4224553/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com