Might be a candidate for SuperUser, but thought I'd try here first as the question came up for a programming project.
Is there a *nix (targeting Solaris, Linux, and OS X) convention for where system-wide (updateable by all users) configuration information should be stored by an application?
By default Nix reads settings from the following places: The system-wide configuration file sysconfdir/nix/nix. conf (i.e. /etc/nix/nix. conf on most systems), or $NIX_CONF_DIR/nix.
The vast majority of Linux config files can be found in the /etc/ directory or a sub-directory. Most of the time these configuration files will be edited through the command line, so get comfortable with applications like Nano or Vi.
d directory holds the configuration for kernel module settings and the sysctl. d directory contains kernel tuning settings. These settings may only be needed on some systems, or may require hardware-specific settings.
Mostly configuration information stored in the /etc/<app name>
folder or if it is a user specific configuration it is usually stored in the ~/.<app name>
folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With