systemd-path.xml revision 681eb9cf2b831293a4f3d4c48a748d2e4a25d69e
2035N/A<?xml version='1.0'?> <!--*-nxml-*-->
2035N/A<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
2035N/A "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
2035N/A<!ENTITY % entities SYSTEM "custom-entities.ent" >
2035N/A%entities;
2035N/A]>
2035N/A
2035N/A<!--
2035N/A This file is part of systemd.
2035N/A
2035N/A Copyright 2014 Lennart Poettering
2035N/A
2035N/A systemd is free software; you can redistribute it and/or modify it
2035N/A under the terms of the GNU Lesser General Public License as published by
2035N/A the Free Software Foundation; either version 2.1 of the License, or
2035N/A (at your option) any later version.
2035N/A
2035N/A systemd is distributed in the hope that it will be useful, but
2035N/A WITHOUT ANY WARRANTY; without even the implied warranty of
2035N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5680N/A Lesser General Public License for more details.
5680N/A
6811N/A You should have received a copy of the GNU Lesser General Public License
2035N/A along with systemd; If not, see <http://www.gnu.org/licenses/>.
2035N/A-->
2035N/A
2035N/A<refentry id="systemd-path"
6811N/A xmlns:xi="http://www.w3.org/2001/XInclude">
2035N/A
2035N/A <refentryinfo>
2035N/A <title>systemd-path</title>
6811N/A <productname>systemd</productname>
2035N/A
2035N/A <authorgroup>
2035N/A <author>
2035N/A <contrib>Developer</contrib>
6811N/A <firstname>Lennart</firstname>
2818N/A <surname>Poettering</surname>
3817N/A <email>lennart@poettering.net</email>
3817N/A </author>
3817N/A </authorgroup>
2035N/A </refentryinfo>
2035N/A
2035N/A <refmeta>
2035N/A <refentrytitle>systemd-path</refentrytitle>
2035N/A <manvolnum>1</manvolnum>
2035N/A </refmeta>
2035N/A
2035N/A <refnamediv>
2035N/A <refname>systemd-path</refname>
2035N/A <refpurpose>List and query system and user paths</refpurpose>
2035N/A </refnamediv>
2035N/A
2035N/A <refsynopsisdiv>
2035N/A <cmdsynopsis>
2035N/A <command>systemd-path <arg choice="opt" rep="repeat">OPTIONS</arg> <arg choice="opt" rep="repeat">NAME</arg></command>
6811N/A </cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>Description</title>
<para><command>systemd-path</command> may be used to query system
and user paths. The tool makes many of the paths described in
<citerefentry><refentrytitle>file-hierarchy</refentrytitle><manvolnum>7</manvolnum></citerefentry>
queriable.</para>
<para>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 is name is queried and its value shown.
The variables whose name begins with <literal>search-</literal>
don't refer to individual paths, but instead a to a list of
colon-separated search paths, in their order of precedence.</para>
</refsect1>
<refsect1>
<title>Options</title>
<para>The following options are understood:</para>
<variablelist>
<varlistentry>
<term><option>--suffix=</option></term>
<listitem><para>The printed paths are suffixed by the
specified string.</para></listitem>
</varlistentry>
<xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" />
</variablelist>
</refsect1>
<refsect1>
<title>Exit status</title>
<para>On success, 0 is returned, a non-zero failure code
otherwise.</para>
</refsect1>
<refsect1>
<title>See Also</title>
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>file-hierarchy</refentrytitle><manvolnum>7</manvolnum></citerefentry>
</para>
</refsect1>
</refentry>