LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemd-path

Query systemd file hierarchy paths

TLDR

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

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

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

Copied to clipboard
Kai