linux让前台正在执行的命令转入后台并nohup的方法(转)

1, Run some SOMECOMMAND
2, ctrl+z to stop (pause) the program and get back to the shell
3, bg to run it in the background
4, disown -h so that the process isn’t killed when the terminal closes
5, Type exit to get out of the shell because now your good to go as the operation will run in the         background in it own process so its not tied to a shell
       This process is the equivalent of running nohup SOMECOMMAND
————————————————

                            版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
                        
原文链接:https://blog.csdn.net/SUMPLUSS/article/details/136685066

相关推荐

  1. linux前台正在执行命令转入后台nohup方法

    2024-05-12 10:12:07       47 阅读
  2. Linux后台执行 shell 指令方法

    2024-05-12 10:12:07       35 阅读
  3. Linux shell 命令nohup 、&、重定向使用

    2024-05-12 10:12:07       51 阅读
  4. Linux shell 命令nohup 、&、重定向使用

    2024-05-12 10:12:07       39 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-05-12 10:12:07       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-05-12 10:12:07       106 阅读
  3. 在Django里面运行非项目文件

    2024-05-12 10:12:07       87 阅读
  4. Python语言-面向对象

    2024-05-12 10:12:07       96 阅读

热门阅读

  1. iOS collectionViewCell显示选中颜色

    2024-05-12 10:12:07       41 阅读
  2. Python从0到POC编写--模块(二)

    2024-05-12 10:12:07       32 阅读
  3. RF-315MHz和RF-433MHz通用解码程序

    2024-05-12 10:12:07       34 阅读
  4. OpenGL ES 面试高频知识点(二)

    2024-05-12 10:12:07       31 阅读
  5. python把png转成jpg

    2024-05-12 10:12:07       27 阅读
  6. 根据指标体系数重排序算法

    2024-05-12 10:12:07       33 阅读
  7. gap意识

    2024-05-12 10:12:07       32 阅读
  8. 什么是ts?

    2024-05-12 10:12:07       36 阅读
  9. CTF-reverse逆向分析解题可能用上的脚本

    2024-05-12 10:12:07       33 阅读