Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

debconf(1) [v7 man page]

DEBCONF(1)							      Debconf								DEBCONF(1)

NAME
debconf - run a debconf-using program SYNOPSIS
debconf [options] command [args] DESCRIPTION
Debconf is a configuration system for Debian packages. For a debconf overview and documentation for sysadmins, see debconf(7) (in the debconf-doc package). The debconf program runs a program under debconf's control, setting it up to talk with debconf on stdio. The program's output is expected to be debconf protocol commands, and it is expected to read result codes on stdin. See debconf-devel(7) for details about the debconf protocol. The command to be run under debconf must be specified in a way that will let your PATH find it. This command is not the usual way that debconf is used. It's more typical for debconf to be used via dpkg-preconfigure(8) or dpkg-reconfigure(8). OPTIONS
-opackage, --owner=package Tell debconf what package the command it is running is a part of. This is necessary to get ownership of registered questions right, and to support unregister and purge commands properly. -ftype, --frontend=type Select the frontend to use. -pvalue, --priority=value Specify the minimum priority of question that will be displayed. --terse Enables terse output mode. This affects only some frontends. EXAMPLES
To debug a shell script that uses debconf, you might use: DEBCONF_DEBUG=developer debconf my-shell-prog Or, you might use this: debconf --frontend=readline sh -x my-shell-prog SEE ALSO
debconf-devel(7), debconf(7) AUTHOR
Joey Hess <joeyh@debian.org> 2018-02-28 DEBCONF(1)

Check Out this Related Man Page

DEBCONF(1)							      Debconf								DEBCONF(1)

NAME
debconf - run a debconf-using program SYNOPSIS
debconf [options] command [args] DESCRIPTION
Debconf is a configuration system for Debian packages. For a debconf overview and documentation for sysadmins, see debconf(7) (in the debconf-doc package). The debconf program runs a program under debconf's control, setting it up to talk with debconf on stdio. The program's output is expected to be debconf protocol commands, and it is expected to read result codes on stdin. See debconf-devel(7) for details about the debconf protocol. The command to be run under debconf must be specified in a way that will let your PATH find it. This command is not the usual way that debconf is used. It's more typical for debconf to be used via dpkg-preconfigure(8) or dpkg-reconfigure(8). OPTIONS
-opackage, --owner=package Tell debconf what package the command it is running is a part of. This is necessary to get ownership of registered questions right, and to support unregister and purge commands properly. -ftype, --frontend=type Select the frontend to use. -pvalue, --priority=value Specify the minimum priority of question that will be displayed. --terse Enables terse output mode. This affects only some frontends. EXAMPLES
To debug a shell script that uses debconf, you might use: DEBCONF_DEBUG=developer debconf my-shell-prog Or, you might use this: debconf --frontend=readline sh -x my-shell-prog SEE ALSO
debconf-devel(7), debconf(7) AUTHOR
Joey Hess <joeyh@debian.org> 2018-02-28 DEBCONF(1)
Man Page

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Run a program and feed her parameters automaticly

How can I run a program ('prog') through perl (in unix) and feed her required parameters? system ("prog \n"); ????????? now 'prog' ask for parameters and I want the perl script to give them automaticly without humen intervention? (2 Replies)
Discussion started by: roco
2 Replies

2. Shell Programming and Scripting

sh : Problem with the result of a find command

Hi I'm working on solaris and I'm trying to run a script. The part listed here does not work properly, the result of the find command is not in the output file /tmp/result (I've checked the find command , executing the shell with sh -x , it seems correct). It seems like I've lost the standard... (4 Replies)
Discussion started by: frenchwill
4 Replies

3. Shell Programming and Scripting

How to give a variable output name in a shell script inside a for loop

Hi all I run my program prog.c in the following way : $ ./prog 1 > output.txt where 1 is a user defined initial value used by the program. But now I want to run it for many a thousand initial values, 1-1000, and store all the outputs in different files. Like $ ./prog 1... (1 Reply)
Discussion started by: alice06
1 Replies

4. Debian

Dialog box in debconf file.

Hi all, I am working with debconf file for packaging the projects. I have used the ". /usr/share/debconf/confmodule" file to do the packaging in debian standard. It worked fine. When ever I am installing the package in apt-get the dialogs are come as I mentioned in the templates file.... (0 Replies)
Discussion started by: Nila
0 Replies

5. UNIX for Dummies Questions & Answers

Noob questions.. Append output to a file in different directory

Noob question! I know almost nothing so far, and I'm trying to teach myself from books, on a typical command line without using scripts how would I append output from a sort to a file in a completely different directory? example: If I'm sorting a file in my documents directory but I... (2 Replies)
Discussion started by: Byrang
2 Replies

6. Shell Programming and Scripting

A question about if statement

Hi everybody, I'm sorry If I ask a silly question. I have a simple code like this I have the following error: Can anyone explain for me why I have this error, and how can I correct it? Thanks in advance. (12 Replies)
Discussion started by: Dark2Bright
12 Replies

7. Shell Programming and Scripting

How to compare floating variables , integer value expected?

I am running some commands and I am trying to get an output into a variable. I am having problem when I try to put that value in while loop, it says integer value expected. What's the best way to accomplish this remaining=$(symclone -sid XXX -f Clone_test query | grep MB | awk '{print... (1 Reply)
Discussion started by: rajsan
1 Replies

8. Shell Programming and Scripting

Redirecting stdion, stdout within an AT command

Hello, I'm strugling with some redirecting and all help is apreciated. The following program is working as expected, but the result of the AT command doesn't go to any file. Thanks in advance for the help. #!/bin/bash modem=/dev/ttyUSB1 file=/root/imsi.txt # print error to stderr and exit... (4 Replies)
Discussion started by: cleitao
4 Replies

9. UNIX for Dummies Questions & Answers

UNIX command question

Hi Guys, I am new on the scripting world and would like ask for help if you can. Here are my questions below:- What Unix command(s) would you put in a shell script to read an ASCII comma-delimited input file and validate that field 5 only contains numeric characters? What Unix command(s)... (5 Replies)
Discussion started by: mahiwaga
5 Replies

10. UNIX for Beginners Questions & Answers

Running a program manual vs script

Hello - I am new to unix... very new. I am running a program at the command prompt:-nohup ./ledger - comptroller_extract 05/11/2018 & The above runs as expected. If I put it in a sh script:- current_date=$(date+%m/%d%y) nohup ./ledger - comptroller_extract $current_date & This does... (4 Replies)
Discussion started by: MSpeare
4 Replies