| 1 |
'\" t |
| 2 |
.TH "SYSTEMD\-PATH" "1" "" "systemd 261~rc3" "systemd-path" |
| 3 |
.\" ----------------------------------------------------------------- |
| 4 |
.\" * Define some portability stuff |
| 5 |
.\" ----------------------------------------------------------------- |
| 6 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 7 |
.\" http://bugs.debian.org/507673 |
| 8 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 9 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 10 |
.ie \n(.g .ds Aq \(aq |
| 11 |
.el .ds Aq ' |
| 12 |
.\" ----------------------------------------------------------------- |
| 13 |
.\" * set default formatting |
| 14 |
.\" ----------------------------------------------------------------- |
| 15 |
.\" disable hyphenation |
| 16 |
.nh |
| 17 |
.\" disable justification (adjust text to left margin only) |
| 18 |
.ad l |
| 19 |
.\" ----------------------------------------------------------------- |
| 20 |
.\" * MAIN CONTENT STARTS HERE * |
| 21 |
.\" ----------------------------------------------------------------- |
| 22 |
.SH "NAME" |
| 23 |
systemd-path \- List and query system and user paths |
| 24 |
.SH "SYNOPSIS" |
| 25 |
.HP \w'\fBsystemd\-path\fR\ 'u |
| 26 |
\fBsystemd\-path\fR [OPTIONS...] [NAME...] |
| 27 |
.SH "DESCRIPTION" |
| 28 |
.PP |
| 29 |
\fBsystemd\-path\fR |
| 30 |
may be used to query system and user paths\&. The tool makes many of the paths described in |
| 31 |
\fBfile-hierarchy\fR(7) |
| 32 |
available for querying\&. |
| 33 |
.PP |
| 34 |
When invoked without arguments, a list of known paths and their current values is shown\&. When at least one argument is passed, the path with this name is queried and its value shown\&. The variables whose name begins with |
| 35 |
"search\-" |
| 36 |
do not refer to individual paths, but instead to a list of colon\-separated search paths, in their order of precedence\&. |
| 37 |
.PP |
| 38 |
Note that paths which depend on environment variables are computed with |
| 39 |
\fBsystemd\-path\fR\*(Aqs invoked environment, and not the system or user manager\*(Aqs environment\&. As such, the output of |
| 40 |
\fBsystemd\-path\fR |
| 41 |
may not reflect the behavior of manager processes\&. |
| 42 |
.SH "OPTIONS" |
| 43 |
.PP |
| 44 |
The following options are understood: |
| 45 |
.PP |
| 46 |
\fB\-\-suffix=\fR |
| 47 |
.RS 4 |
| 48 |
Printed paths are suffixed by the specified string\&. |
| 49 |
.sp |
| 50 |
Added in version 215\&. |
| 51 |
.RE |
| 52 |
.PP |
| 53 |
\fB\-\-no\-pager\fR |
| 54 |
.RS 4 |
| 55 |
Do not pipe output into a pager\&. |
| 56 |
.RE |
| 57 |
.PP |
| 58 |
\fB\-h\fR, \fB\-\-help\fR |
| 59 |
.RS 4 |
| 60 |
Print a short help text and exit\&. |
| 61 |
.RE |
| 62 |
.PP |
| 63 |
\fB\-\-version\fR |
| 64 |
.RS 4 |
| 65 |
Print a short version string and exit\&. |
| 66 |
.RE |
| 67 |
.SH "EXIT STATUS" |
| 68 |
.PP |
| 69 |
On success, 0 is returned, a non\-zero failure code otherwise\&. |
| 70 |
.SH "SEE ALSO" |
| 71 |
.PP |
| 72 |
\fBsystemd\fR(1), \fBfile-hierarchy\fR(7) |