I've seen many software in Linux that use these three locations to store their configuration. /etc/sw/etc/default/sw/etc/sw.d/So my question is:Why there are three places and what is the use of each of them?what is the order of processing of them and which one have override over other?Which one should I ideally use for my configuration?
/etc/default/sw vs /etc/sw vs /etc/sw.d/
linux;configuration;directory structure