Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

jobs - display status of jobs in the current session

&pagelevel(4)&pagelevel

jobs writes to the standard output. It provides information about the specified jobs or, if job-id is missing, all active jobs.


Syntax


jobs[ -l|-p][ -n][ job-id]...

-l

Lists process IDs in addition to the normal information.

-p

Lists only the process group.

-n

Lists only the jobs which have already been completed.

job-id

Information about the specified jobs is output. The section jobs in the chapter "Entering commands from the POSIX shell" contains a description of the format of job-id.

job-id not specified:
Information about all active jobs is output.

Locale

The following environment variables affect the execution of jobs:

LANG

Provide a default value for the internationalization variables that are unset or null. If LANG is unset of null, the corresponding value from the implementation-specific default locale will be used. If any of the internationalization variables contains an invalid setting, the utility will behave as if none of the variables had been defined.

LC_ALL

If set to a non-empty string value, override the values of all the other internationalization variables.

LC_CTYPE

Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single- as opposed to multi-byte characters in arguments and input files), the classification of characters as upper- to lower-case, and the mapping of characters from one case to the other.

LC_MESSAGES

Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error.

NLSPATH

Determine the location of message catalogs for the processing of LC_MESSAGES.

See also

bg, fg, kill, wait