econftool(8)

econftool8

Configuration file manager

Usage

econftool COMMAND [OPTIONS] </path/to/configfile>.conf

Overview

Tool which allows to easily manage the configuration file snippets.

Commands

show

Reads all snippets for <filename>.conf (in /usr/etc and /etc), and prints all groups,keys and their values. The root directories is /. It can be set by the environment variable $ECONFTOOL_ROOT.

cat

Prints the content of the files and the name of the file in the order as it has been read.

edit

Starts the editor $EDITOR (environment variable) where the groups, keys and values can be modified and saved afterwards.

OPTIONS
-f, --full: Copy the original configuration file to /etc instead of
creating drop-in files.
--use-home: Only has an effect if the user is root.
Chooses the root home directory instead of /etc.

revert

Reverts all changes to the vendor versions. Basically deletes the config file and snippet directory in /etc.

OPTIONS
-y, --yes: Assumes yes for all prompts and runs non-interactively.

Options

--comment <character>

Character which starts a comment. ('#' default).

--delimiters <string>

Characters which separates key/value entries. ("=" default).
e.g. --delimiters="= "
e.g. --delimiters=spaces regarding all spaces

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

From libeconf-utils 0.7.7+dfsg1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.