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 20.6.

Options

-l

List job IDs and process GIDs.

-n

List only jobs whose status has changed since last notification.

-p

List process GIDs 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.

Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.