NAME

systemd-path – List and query system and user paths  

SYNOPSIS

systemd-path [OPTIONS…] [NAME…]
 

DESCRIPTION

systemd-path

may be used to query system and user paths. The tool makes many of the paths described in file-hierarchy(7) queriable.

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 "search-" don’t refer to individual paths, but instead a to a list of colon-separated search paths, in their order of precedence.  

OPTIONS

The following options are understood:

–suffix=

The printed paths are suffixed by the specified string.

-h, –help

Print a short help text and exit.

–version

Print a short version string and exit.
 

EXIT STATUS

On success, 0 is returned, a non-zero failure code otherwise.  

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.