Location of ini/config files in linux/unix?

前端 未结 7 1077
自闭症患者
自闭症患者 2020-12-04 06:05

Two questions, really:

  1. Is there a standard/convention regarding the placement on configuration files?

    For system or quasi-system programs they see

7条回答
  •  隐瞒了意图╮
    2020-12-04 06:38

    (1) No (unfortunately). Edit: The other answers are right, per-user configuration is usually stored in dot-files or dot-directories in the users home directory. Anything above user level often is a lot of guesswork.

    (2) System-wide ini file -> user ini file -> environment -> command line options (going from lowest to highest precedence)

提交回复
热议问题