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

相关推荐

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

    2024-03-17 03:14:01       21 阅读
  2. Linux后台执行 shell 指令方法

    2024-03-17 03:14:01       14 阅读
  3. Linux shell 命令nohup 、&、重定向使用

    2024-03-17 03:14:01       30 阅读
  4. Linux shell 命令nohup 、&、重定向使用

    2024-03-17 03:14:01       21 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-03-17 03:14:01       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-03-17 03:14:01       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-03-17 03:14:01       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-03-17 03:14:01       20 阅读

热门阅读

  1. 动态规划 Leetcode 96 不同的二叉搜索树

    2024-03-17 03:14:01       21 阅读
  2. CSV Excel乱码问题 和 BOM标记

    2024-03-17 03:14:01       21 阅读
  3. SpringBoot之yml与properties配置文件格式的区别

    2024-03-17 03:14:01       19 阅读
  4. gazebo_ros和ros_ign_gazebo

    2024-03-17 03:14:01       19 阅读
  5. python calendar内置日历库函数方法

    2024-03-17 03:14:01       17 阅读
  6. python企业编码管理的程序(附源码)

    2024-03-17 03:14:01       21 阅读
  7. 链表快慢指针合集(力扣)

    2024-03-17 03:14:01       21 阅读
  8. week07day04(powerbi 概况指标体系)

    2024-03-17 03:14:01       18 阅读
  9. 最大二进制奇数(Lc2864)——贪心

    2024-03-17 03:14:01       21 阅读
  10. 如何关闭和删除所有Docker容器和镜像

    2024-03-17 03:14:01       17 阅读