Jobs and Background Execution

jobs

Lists jobs started from the current shell.

jobs shows backgrounded or stopped commands that belong to the current interactive shell. It is shell job control, not a system-wide process list.

Syntax
jobs [options]

Arguments explained

  • No required arguments.
  • -l shows process IDs in many shells.
  • %number identifies a job for fg, bg, or kill.

Common examples

List shell jobs
jobs

Shows jobs started from the current shell session.

Show PIDs too
jobs -l

Displays job numbers and process IDs where supported.

jobs Command
FieldDetails
Commandjobs
CategoryJobs and Background Execution
Primary useLists jobs started from the current shell.
Syntaxjobs [options]