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