zoukankan      html  css  js  c++  java
  • 在linux中出现there are stopped jobs 的解决方法

     

    Dealing with Stopped Jobs
    Sometimes when you try to logout, you'll get a message saying there are "stopped jobs". These stopped jobs are programs or processes which have been suspended by a ^Z (Ctrl - Z) command. You have to either make the job active again, or get it running properly in the "background" before you can logout.

    Stopping a program is useful if you want to temporarily suspend working on one program so you can do something else.

    To see a list of stopped jobs, type:

    jobs
    You will see a list of the stopped programs. Here's an example showing a stopped "learn" session:

    [1] + Stopped learn

    You can kill this stopped job by typing:

    kill %1 (where %1 is the number of the job
    to be killed>

    Or you can make the program active again by typing:

    fg %1 (where %1 is the number of the job)

    fg stands for foreground. (You are bringing the program from suspended status back to the foreground.) Once brought back to the foreground, you can continue the program or quit in a normal manner.
  • 相关阅读:
    [项目管理]如何写好项目验收材料
    [英语学习]英语高级口译证书考试 备查
    A1042 Shuffling Machine洗牌机器
    B1018锤子剪刀布
    B1012数字分类
    B1008数组元素循环右移问题
    B1046划拳
    B1026 程序运行时间
    B1016部分A+B
    B1011A+B和C
  • 原文地址:https://www.cnblogs.com/weaver1/p/2727310.html
Copyright © 2011-2022 走看看