Configuration File Definition & Meaning

A configuration file contains instructions that control the basic settings for computer systems and applications. When a computer program runs, configuration files provide parameters for the program s operation. The program will check the configuration file so that it can tell the computer how to run the program. Common configuration file names include .cnf, .conf, and .cfg. Windows, Mac, and Linux run different configuration files.

Editing configuration files

Because many configuration files run standard text, users can create files manually and edit them to change how the program runs. Operating systems have their own text editors in which users can edit the file, although it sometimes requires being a system admin. There are also plenty of third-party text editors that users can download as well, particularly if they want to create more advanced settings. Some changes may be blocked because of user permissions permissions can often be fixed by changing user status to admin or mistakes made while editing the file.

Some operating systems allow application configuration files for specific applications. By designing an application configuration file, users can work around the standard instructions of the application, known as redirection.

Configuration file contents

Configuration file contents generally fall into four content types:

  • Comments: Mechanism for developers to communicate behaviors and actions. Essential but does not affect file behavior.
  • Flags: Controls which options are enabled and disabled in application or system
  • Settings: Assignment of constants to variable information, allowing operational parameters to be defined.
  • Paths: Used to stipulate storage devices, folder locations, and specific filenames.

Vangie Beal
Vangie Beal
Vangie Beal is a freelance business and technology writer covering Internet technologies and online business since the late '90s.

Top Articles

The Complete List of 1500+ Common Text Abbreviations & Acronyms

UPDATED: This article was updated April 6, 2021 by Web Webster   From A3 to ZZZ we list 1,559 text message and online chat abbreviations to...

How to Create a Website Shortcut on Your Desktop

UPDATED: This article was updated April 6, 2021 by Web Webster   This Webopedia guide will show you how to create a desktop shortcut to a...

Windows Operating System History & Versions

The Windows operating system (Windows OS) refers to a family of operating systems developed by Microsoft Corporation. We look at the history of Windows...

What are the 5 Generations of Computers?

UPDATED: This article was updated on April 6, 2021 by Web Webster   Learn about each of the 5 generations of computers and major technology developments...

Random Access Memory (RAM)...

UPDATED: This article Updated April 6, 2021 by Web Webster   Random Access Memory (RAM)...

OEM – original equipment...

UPDATED: This article was updated April 6, 2021 by Web Webster OEM (pronounced as...

Best ERP Software for...

UPDATED: This page was updated April 6, 2021 by Web Webster   Enterprise resource planning...