]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-path.xml
tree-wide: remove Lennart's copyright lines
[thirdparty/systemd.git] / man / systemd-path.xml
1 <?xml version='1.0'?> <!--*-nxml-*-->
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4
5 <!--
6 SPDX-License-Identifier: LGPL-2.1+
7 -->
8
9 <refentry id="systemd-path"
10 xmlns:xi="http://www.w3.org/2001/XInclude">
11
12 <refentryinfo>
13 <title>systemd-path</title>
14 <productname>systemd</productname>
15
16 <authorgroup>
17 <author>
18 <contrib>Developer</contrib>
19 <firstname>Lennart</firstname>
20 <surname>Poettering</surname>
21 <email>lennart@poettering.net</email>
22 </author>
23 </authorgroup>
24 </refentryinfo>
25
26 <refmeta>
27 <refentrytitle>systemd-path</refentrytitle>
28 <manvolnum>1</manvolnum>
29 </refmeta>
30
31 <refnamediv>
32 <refname>systemd-path</refname>
33 <refpurpose>List and query system and user paths</refpurpose>
34 </refnamediv>
35
36 <refsynopsisdiv>
37 <cmdsynopsis>
38 <command>systemd-path</command>
39 <arg choice="opt" rep="repeat">OPTIONS</arg>
40 <arg choice="opt" rep="repeat">NAME</arg>
41 </cmdsynopsis>
42 </refsynopsisdiv>
43
44 <refsect1>
45 <title>Description</title>
46
47 <para><command>systemd-path</command> may be used to query system
48 and user paths. The tool makes many of the paths described in
49 <citerefentry><refentrytitle>file-hierarchy</refentrytitle><manvolnum>7</manvolnum></citerefentry>
50 available for querying.</para>
51
52 <para>When invoked without arguments, a list of known paths and
53 their current values is shown. When at least one argument is
54 passed, the path with this name is queried and its value shown.
55 The variables whose name begins with <literal>search-</literal>
56 do not refer to individual paths, but instead to a list of
57 colon-separated search paths, in their order of precedence.</para>
58 </refsect1>
59
60 <refsect1>
61 <title>Options</title>
62
63 <para>The following options are understood:</para>
64
65 <variablelist>
66 <varlistentry>
67 <term><option>--suffix=</option></term>
68
69 <listitem><para>Printed paths are suffixed by the specified string.</para></listitem>
70 </varlistentry>
71
72 <xi:include href="standard-options.xml" xpointer="help" />
73 <xi:include href="standard-options.xml" xpointer="version" />
74 </variablelist>
75
76 </refsect1>
77
78 <refsect1>
79 <title>Exit status</title>
80
81 <para>On success, 0 is returned, a non-zero failure code
82 otherwise.</para>
83 </refsect1>
84
85 <refsect1>
86 <title>See Also</title>
87 <para>
88 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
89 <citerefentry><refentrytitle>file-hierarchy</refentrytitle><manvolnum>7</manvolnum></citerefentry>
90 </para>
91 </refsect1>
92
93 </refentry>