docs/jobs: add example output and remove spurious header

This commit is contained in:
David Adam
2020-07-06 20:48:13 +08:00
parent 02d0380e6b
commit 1b121bd9a6

View File

@@ -34,11 +34,13 @@ If the output of ``jobs`` is redirected or if it is part of a command substituti
The exit status of ``jobs`` is ``0`` if there are running background jobs and ``1`` otherwise.
no output.
----------
Example
-------
``jobs`` outputs a summary of the current jobs.
``jobs`` outputs a summary of the current jobs, such as two long-running tasks in this example:
.. code-block:: none
Job Group State Command
2 26012 running nc -l 55232 < /dev/random &
1 26011 running python tests/test_11.py &