HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

systemd-path — List and query system and user paths. More information: <https://www.freedesktop.org/software/system

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandandcliquerylistsystemsystemd-path
linux

Problem

How to use the systemd-path command: List and query system and user paths. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-path.html>.

Solution

systemd-path — List and query system and user paths. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-path.html>.

Display a list of known paths and their current values:
systemd-path


Query the specified path and display its value:
systemd-path "{{path_name}}"


Suffix printed paths with suffix_string:
systemd-path --suffix {{suffix_string}}


Print a short version string and then exit:
systemd-path --version

Code Snippets

Display a list of known paths and their current values

systemd-path

Query the specified path and display its value

systemd-path "{{path_name}}"

Suffix printed paths with `suffix_string`

systemd-path --suffix {{suffix_string}}

Print a short version string and then exit

systemd-path --version

Context

tldr-pages: linux/systemd-path

Revisions (0)

No revisions yet.