summaryrefslogtreecommitdiff
path: root/Doc/help/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/help/jobs')
-rw-r--r--Doc/help/jobs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/help/jobs b/Doc/help/jobs
new file mode 100644
index 000000000..7a602da2b
--- /dev/null
+++ b/Doc/help/jobs
@@ -0,0 +1,14 @@
+jobs [ -dlprs ] [ job ... ]
+jobs -Z string
+ Lists information about each given job, or all jobs if job is
+ omitted. The -l flag lists process IDs, and the -p flag lists
+ process groups. If the -r flag is specified only running jobs
+ will be listed and if the -s flag is given only stopped jobs are
+ shown. If the -d flag is given, the directory from which the
+ job was started (which may not be the current directory of the
+ job) will also be shown.
+
+ The -Z option replaces the shell's argument and environment
+ space with the given string, truncated if necessary to fit.
+ This will normally be visible in ps (ps(1)) listings. This fea-
+ ture is typically used by daemons, to indicate their state.