Skip to main content

Shell builtin for viewing information about processes spawned by the current shell. Options other than -l and -p are exclusive to bash.

# To view jobs spawned by the current shell:

# To list jobs and their process IDs:
jobs -l

# To display information about jobs with changed status:
jobs -n

# To display only process IDs:
jobs -p

# To display running processes:
jobs -r

# To display stopped processes:
jobs -s