|
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXIT STATUS | SEE ALSO | COLOPHON |
|
|
|
SYSTEMD-PATH(1) systemd-path SYSTEMD-PATH(1)
systemd-path - List and query system and user paths
systemd-path [OPTIONS...] [NAME...]
systemd-path may be used to query system and user paths. The tool
makes many of the paths described in file-hierarchy(7) available
for querying.
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 name is queried and its value shown. The variables
whose name begins with "search-" do not refer to individual paths,
but instead to a list of colon-separated search paths, in their
order of precedence.
Note that paths which depend on environment variables are computed
with systemd-path's invoked environment, and not the system or
user manager's environment. As such, the output of systemd-path
may not reflect the behavior of manager processes.
The following options are understood:
--suffix=
Printed paths are suffixed by the specified string.
Added in version 215.
--no-pager
Do not pipe output into a pager.
-h, --help
Print a short help text and exit.
--version
Print a short version string and exit.
On success, 0 is returned, a non-zero failure code otherwise.
systemd(1), file-hierarchy(7)
This page is part of the systemd (systemd system and service
manager) project. Information about the project can be found at
⟨http://www.freedesktop.org/wiki/Software/systemd⟩. If you have a
bug report for this manual page, see
⟨http://www.freedesktop.org/wiki/Software/systemd/#bugreports⟩.
This page was obtained from the project's upstream Git repository
⟨https://github.com/systemd/systemd.git⟩ on 2025-08-11. (At that
time, the date of the most recent commit that was found in the
repository was 2025-08-11.) If you discover any rendering
problems in this HTML version of the page, or you believe there is
a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
[email protected]
systemd 258~rc2 SYSTEMD-PATH(1)
Pages that refer to this page: sd_path_lookup(3), systemd.exec(5), file-hierarchy(7), systemd.directives(7), systemd.index(7)