首页 > 知识库 > What Are Config Files?
2016-07-15

What Are Config Files?

Config files are essentially files that contain information required for the successful operation of a program, which are structured in a particular way. Rather than being hard-coded in the program, they are user-configurable, and are typically stored in a plaintext file (although I have previously seen programs that have used SQLite databases as their config files).

Surprisingly, there’s no defined standard on how config files should work, or what they should look like. It’s entirely up to the whim of the developer of the program.

Some config files are structured in a format of the developer’s own design. Others use widely-known standards used to structure data, like JSON (JavaScript Object Notation), YAML (YAML Ain’t Markup Language) or XML (eXtensible Markup Language) format. Some programs load the information stored in their config files when they start, while others periodically check to see if it has been changed.

If you’re a Linux user, you’re probably going to be familiar with these, as many basic maintenance tasks require you to edit config files. If you want to tweak GRUB to dual-boot your system, or set up a web server, you’re going to have to deal with them.

Although it’s not an exclusively Linux thing. Depending on what you’re doing, you might have to edit them in Windows or Mac OS X.
0 0

为什么选择智慧清理

产品100%安全

我们保证智慧清理不包含病毒,木马,广告,恶意程序,百分百安全。

支付安全

我们支持国内主流的支付宝和微信支付,在线交易更安全。

5x8技术支持服务

我们提供工作日8小时中文技术支持服务,让你使用无忧。