<分区>
nohup 和 screen 都做类似的工作。但是,我想知道为什么 screen 在 linux 中优于 nohup 命令?
标签 linux
<分区>
nohup 和 screen 都做类似的工作。但是,我想知道为什么 screen 在 linux 中优于 nohup 命令?
最佳答案
screen
适用于交互式进程,您可能需要分离并重新连接 vtty。 nohup
最适合无人值守的进程,例如用户空间守护进程或您稍后将检查的进程。
关于linux - "screen"比 "nohup"好吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17072463/
相关文章:
linux - 为什么 sched_setaffinity 在一个系统上工作,在另一个系统上失败?
linux - Qt Creator 编译错误 "cannot find -lGL"。其他解决方案不起作用
linux - 如何从 Linux Docker 容器中的网络共享恢复 nuget 包
c++ - Visual Studio 2017 Linux远程调试(gdbserver)
linux - 在 linux 中是否有显示特定命令选项的详细描述的技巧
c++ - 如果我使用 popen,如何获取收到的数据包数量、ping 命令的平均往返时间
linux 交叉编译链接器问题, undefined reference `g_thread_init' 和 `org_freedesktop_DBus_request_name'