退出ssh继续执行命令

来源:互联网 发布:ping ip加端口 编辑:程序博客网 时间:2024/04/24 09:24

如果long_run_cmd是一个长时间执行的命令,而我们又想在退出ssh后不至于中断该命令:

nohup long_run_cmd &


0 0