← 返回命令列表

Linux command

systemd-path 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Display

systemd-path

Query

systemd-path "[path_name]"

Suffix

systemd-path --suffix [suffix_string]

说明

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.

参数

--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

FAQ

What is the systemd-path command used for?

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.

How do I run a basic systemd-path example?

Run `systemd-path` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --suffix _string_ do in systemd-path?

Append suffix to printed paths