There are stopped jobs appears in Linux

Source: Internet
Author: User
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 susponded 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 susponded status back to the foreground.) once brought back to the foreground, you can continue the program or quit in a normal manner.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.