SYSTEMD-PATH(1)
๐ฆ NAME ๐ฆ
systemd-path โ bestie's little tool for listing and querying system and user paths ๐
โจ SYNOPSIS โจ
systemd-path [OPTIONS...] [NAME...]
๐ธ DESCRIPTION ๐ธ
okay so systemd-path is literally your go-to for querying system and user paths. It takes a whole bunch of the paths that file-hierarchy(7) talks about and makes them available for you to ask about, no cap. ๐ซถ
When you run it with no arguments at all, it shows you a full list of known paths and what their current values are. When you pass at least one argument, it queries the path with that name and shows you its value. โจ
And here's the lil plot twist ๐ โ variables whose names start with search- don't refer to individual paths. Instead they refer to a list of colon-separated search paths, in their order of precedence. slay.
โ ๏ธ Important vibe check: paths that depend on environment variables are computed withsystemd-path's invoked environment, not the system or user manager's environment. So the output ofsystemd-pathmay not reflect the behavior of manager processes. fr fr, don't get caught slippin' on that one. ๐
๐ OPTIONS ๐
The following options are understood:
--suffix=โ printed paths get suffixed by the string you specify. Cute lil add-on, honestly. ๐
Added in version 215.
--no-pagerโ do not pipe output into a pager. Just raw output, straight to your terminal, no middleman. periodt.-h,--helpโ print a short help text and exit. the classic escape hatch ๐--versionโ print a short version string and exit.
๐ฅ EXIT STATUS ๐ฅ
On success, 0 is returned. Otherwise you get a non-zero failure code. that's it, that's the whole rule. โจ
๐ SEE ALSO ๐
okay that's the whole page bestie, you ate that reading btw ๐๐
this was brought to you by systemd 262.1 โ mwah, love you, go query some paths ๐ฆ๐ธ
๐ฆ where this page comes from
- arch rolling: systemd 262.1-1 ยท LGPL-2.1-or-later AND CC0-1.0 AND GPL-2.0-or-later AND MIT-0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms