O'Reilly logo

Linux in a Nutshell, Fourth Edition by Aaron Weber, Stephen Figgins, Ellen Siever

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

jobs

Synopsis

                  jobs [options] [jobIDs]

List all running or stopped jobs, or those specified by jobIDs. For example, you can check whether a long compilation or text format is still running. Also useful before logging out. See also Section 7.6 earlier in this chapter.

Options

-l

List job IDs and process group IDs.

-n

List only jobs whose status has changed since last notification.

-p

List process group IDs only.

-r

List active, running jobs only.

-s

List stopped jobs only.

-x command [arguments]

Execute command. If jobIDs are specified, replace them with command.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required