debconf-communicate(1) centos man page | unix.com

Man Page: debconf-communicate

Operating Environment: centos

Section: 1

DEBCONF-COMMUNICATE(1)						      Debconf						    DEBCONF-COMMUNICATE(1)

NAME
debconf-communicate - communicate with debconf
SYNOPSIS
echo commands | debconf-communicate [options] [package]
DESCRIPTION
debconf-communicate allows you to communicate with debconf on the fly, from the command line. The package argument is the name of the package which you are pretending to be as you communicate with debconf, and it may be omitted if you are lazy. It reads commands in the form used by the debconf protocol from stdin. For documentation on the available commands and their usage, see the debconf specification. The commands are executed in sequence. The textual return code of each is printed out to standard output. The return value of this program is the numeric return code of the last executed command.
EXAMPLE
echo get debconf/frontend | debconf-communicate Print out the value of the debconf/frontend question.
WARNING
This program should never be used from a maintainer script of a package that uses debconf! It may however, be useful in debugging.
SEE ALSO
debconf-loadtemplate(1)
AUTHOR
Joey Hess <joeyh@debian.org> 2018-02-28 DEBCONF-COMMUNICATE(1)
Related Man Pages
debconf-set-selections(1) - linux
debconf(1) - linux
debconf(1) - suse
debconf(1) - mojave
debconf(1) - x11r4
Similar Topics in the Unix Linux Community
How to increment version inside a file?
DB2 convert digits to binary format
CentOS7 restoring file capabilities
CentOS 6 ran out of space, need to reclaim it
[TIP] Processing YAML files with yq