Linux configuration files names with numbers

杀马特。学长 韩版系。学妹 提交于 2019-12-13 11:03:43

问题


I just wonder why some tools have default configuration files with numbers in their names.

For example: 50-default.conf (for rsyslog).

What's the reason for this number and what does it mean ?


回答1:


These numbers are for config file ordering and precedence. I.e. if the same parameter configuration is present in 10-smth.conf and 20-smth.conf the latter will overwrite first one.



来源:https://stackoverflow.com/questions/47407448/linux-configuration-files-names-with-numbers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!