This question already has an answer here:

When jobs is run in a shell, does it mean that all other jobs must be either background or stopped? Is there no foreground jobs?

Does jobs list only background and stopped jobs?

marked as duplicate by Scott, garethTheRed, Anthon, Jakuje, dr01 Feb 29 '16 at 11:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 4
    How do you run jobs if there is a foreground job running? jobs only shows the jobs that are attached to a terminal. – pfnuesel Feb 29 '16 at 3:17

jobs command is used to list the jobs that you are running in the background and in the foreground. If the prompt is returned with no information no jobs are present. Reference link Here.

Not the answer you're looking for? Browse other questions tagged or ask your own question.