basic/linux: update kernel headers from v6.14-rc1
[systemd.io.git] / man / systemd-path.xml
blob16f792794932e74a5dab4bc2585b3b50be6a855b
1 <?xml version='1.0'?> <!--*-nxml-*-->
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
4 <!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
6 <refentry id="systemd-path"
7     xmlns:xi="http://www.w3.org/2001/XInclude">
9   <refentryinfo>
10     <title>systemd-path</title>
11     <productname>systemd</productname>
12   </refentryinfo>
14   <refmeta>
15     <refentrytitle>systemd-path</refentrytitle>
16     <manvolnum>1</manvolnum>
17   </refmeta>
19   <refnamediv>
20     <refname>systemd-path</refname>
21     <refpurpose>List and query system and user paths</refpurpose>
22   </refnamediv>
24   <refsynopsisdiv>
25     <cmdsynopsis>
26       <command>systemd-path</command>
27       <arg choice="opt" rep="repeat">OPTIONS</arg>
28       <arg choice="opt" rep="repeat">NAME</arg>
29     </cmdsynopsis>
30   </refsynopsisdiv>
32   <refsect1>
33     <title>Description</title>
35     <para><command>systemd-path</command> may be used to query system
36     and user paths. The tool makes many of the paths described in
37     <citerefentry><refentrytitle>file-hierarchy</refentrytitle><manvolnum>7</manvolnum></citerefentry>
38     available for querying.</para>
40     <para>When invoked without arguments, a list of known paths and
41     their current values is shown. When at least one argument is
42     passed, the path with this name is queried and its value shown.
43     The variables whose name begins with <literal>search-</literal>
44     do not refer to individual paths, but instead to a list of
45     colon-separated search paths, in their order of precedence.</para>
47     <para>Note that paths which depend on environment variables are
48     computed with <command>systemd-path</command>'s invoked
49     environment, and not the system or user manager's environment. As
50     such, the output of <command>systemd-path</command> may not
51     reflect the behavior of manager processes.</para>
52   </refsect1>
54   <refsect1>
55     <title>Options</title>
57     <para>The following options are understood:</para>
59     <variablelist>
60       <varlistentry>
61         <term><option>--suffix=</option></term>
63         <listitem><para>Printed paths are suffixed by the specified string.</para>
65         <xi:include href="version-info.xml" xpointer="v215"/></listitem>
66       </varlistentry>
68       <xi:include href="standard-options.xml" xpointer="no-pager"/>
69       <xi:include href="standard-options.xml" xpointer="help" />
70       <xi:include href="standard-options.xml" xpointer="version" />
71     </variablelist>
73   </refsect1>
75   <refsect1>
76     <title>Exit status</title>
78     <para>On success, 0 is returned, a non-zero failure code
79     otherwise.</para>
80   </refsect1>
82   <refsect1>
83     <title>See Also</title>
84     <para><simplelist type="inline">
85       <member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
86       <member><citerefentry><refentrytitle>file-hierarchy</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
87     </simplelist></para>
88   </refsect1>
90 </refentry>