How to configure a program
Traditionally, there are 3 ways of configuring the behavior of a program:
- System wide configuration files
- User specific configuration files
- Compiling options
A few conventions about configuration files:
- Configuration is stored in text files (as opposed to binaries or anything similar to the Windows registry).
- System wide configuration files are located in
- User specific configuration files are located in the user's home directory.
- Configuration files have names ending with the suffix
- User specific configuration files are hidden by prefixing them with a dot (
- Compiling options are only available at compile time and cannot be changed afterwards. On systems using binary package management, the package maintainer is in charge of selecting the appropriate options.