systemd-path

Query systemd file hierarchy paths

TLDR

Display a list of known paths and their values
$ systemd-path
Query a specific path and display its value
$ systemd-path "[path_name]"
Suffix printed paths with a string
$ systemd-path --suffix [suffix_string]

SYNOPSIS

systemd-path [options] [name...]

DESCRIPTION

systemd-path queries and lists various system and user paths as defined by the systemd file hierarchy specification. These include standard locations for configuration, cache, runtime data, and other system directories.Common path names include: temporary, temporary-large, system-binaries, system-configuration, user-configuration, user-runtime, and many others.

PARAMETERS

--suffix _string_

Append suffix to printed paths
--no-pager
Don't pipe output through a pager
-h, --help
Display help information
--version
Display version information

INSTALL

sudo apt install systemd
sudo dnf install systemd
sudo pacman -S systemd
sudo zypper install systemd
brew install systemd
nix profile install nixpkgs#systemd

CAVEATS

Path values may vary based on system configuration and user context. The tool reflects the file hierarchy as understood by systemd. Part of the systemd suite.

SEE ALSO

file-hierarchy(7), systemctl(1), systemd-analyze(1)