2035N/A<?
xml version='1.0'?>
<!--*-nxml-*--> 2035N/A<!
DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 2035N/A This file is part of systemd. 2035N/A Copyright 2014 Lennart Poettering 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 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. 6811N/A You should have received a copy of the GNU Lesser General Public License 2035N/A <
title>systemd-path</
title>
6811N/A <
productname>systemd</
productname>
2035N/A <
contrib>Developer</
contrib>
6811N/A <
firstname>Lennart</
firstname>
2818N/A <
surname>Poettering</
surname>
3817N/A <
email>lennart@poettering.net</
email>
2035N/A <
refentrytitle>systemd-path</
refentrytitle>
2035N/A <
refname>systemd-path</
refname>
2035N/A <
refpurpose>List and query system and user paths</
refpurpose>
2035N/A <
command>systemd-path <
arg choice="opt" rep="repeat">OPTIONS</
arg> <
arg choice="opt" rep="repeat">NAME</
arg></
command>
<
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>
<
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>
<
para>The following options are understood:</
para>
<
term><
option>--suffix=</
option></
term>
<
listitem><
para>The printed paths are suffixed by the
specified string.</
para></
listitem>
<
title>Exit status</
title>
<
para>On success, 0 is returned, a non-zero failure code
<
citerefentry><
refentrytitle>systemd</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
<
citerefentry><
refentrytitle>file-hierarchy</
refentrytitle><
manvolnum>7</
manvolnum></
citerefentry>