「systemd-path」-

  LINUX MANUAL PAGES
systemd-path – List and query system and user paths

命令语法格式


systemd-path [OPTIONS…] [NAME…]

命令描述


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

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 name is queried and its value shown. The variables whose name begins with

“search-” do not refer to individual paths, but instead to a list of colon-separated search paths, in their order of precedence.

命令支持的选项及含义


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.

退出状态


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

相关手册


systemd(1), file-hierarchy(7)

参考文献


  • man 1 systemd-path, Version systemd 232

更新日志


  • 07/26/2018 创建文章