table of contents
- bullseye 247.3-7+deb11u1
- bullseye-backports 252.5-2~bpo11+1
- testing 252.5-2
- unstable 252.6-1
- experimental 253-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.
The following options are understood:
On success, 0 is returned, a non-zero failure code otherwise.