OS Manuals

/usr/bin/duckdb

DuckDB is an analytical in-process SQL database management system

From duckdb 1.5.3-r1 (os), captured 2026-11-05 by running duckdb --help (exit 0). permalink

Also provided by 1 other package version
Usage: /usr/bin/duckdb [OPTIONS] FILENAME [SQL]

FILENAME is the name of a DuckDB database. A new database is created
if the file does not previously exist.

OPTIONS:
  -ascii                  set output mode to 'ascii'
  -bail                   stop after hitting an error
  -batch                  force batch I/O'
  -box                    set output mode to 'box'
  -column                 set output mode to 'column'
  -cmd COMMAND            run "COMMAND" before reading stdin
  -csv                    set output mode to 'csv'
  -c COMMAND              run "COMMAND" and exit
  -echo                   print commands before execution
  -f FILENAME             read/process named file and exit
  -init FILENAME          read/process named file
  -header                 turn headers on
  -h                      show help message
  -help                   show help message
  -html                   set output mode to HTML
  -interactive            force interactive I/O
  -json                   set output mode to 'json'
  -jsonlines              set output mode to 'jsonlines'
  -line                   set output mode to 'line'
  -list                   set output mode to 'list'
  -markdown               set output mode to 'markdown'
  -newline SEP            set output row separator. Default: '\n'
  -no-init                skip processing the init file
  -no-stdin               exit after processing options instead of reading stdin
  -noheader               turn headers off
  -nullvalue TEXT         set text string for NULL values. Default 'NULL'
  -quote                  set output mode to 'quote'
  -readonly               open the database read-only
  -s COMMAND              run "COMMAND" and exit
  -safe                   enable safe-mode
  -separator SEP          set output column separator. Default: '|'
  -storage-version VER    database storage compatibility version to use. Default: 'v0.10.0'
  -table                  set output mode to 'table'
  -ui                     launches a web interface using the ui extension (configurable with .ui_command)
  -unredacted             allow printing unredacted secrets
  -unsigned               allow loading of unsigned extensions
  -version                show DuckDB version
Options (37)
OptionDescriptionSource
-asciiset output mode to 'ascii'help
-bailstop after hitting an errorhelp
-batchforce batch I/O'help
-boxset output mode to 'box'help
-columnset output mode to 'column'help
-cmd COMMANDrun "COMMAND" before reading stdinhelp
-csvset output mode to 'csv'help
-c COMMANDrun "COMMAND" and exithelp
-echoprint commands before executionhelp
-f FILENAMEread/process named file and exithelp
-init FILENAMEread/process named filehelp
-headerturn headers onhelp
-hshow help messagehelp
-helpshow help messagehelp
-htmlset output mode to HTMLhelp
-interactiveforce interactive I/Ohelp
-jsonset output mode to 'json'help
-jsonlinesset output mode to 'jsonlines'help
-lineset output mode to 'line'help
-listset output mode to 'list'help
-markdownset output mode to 'markdown'help
-newline SEPset output row separator.help
-no-initskip processing the init filehelp
-no-stdinexit after processing options instead of reading stdinhelp
-noheaderturn headers offhelp
-nullvalue TEXTset text string for NULL values.help
-quoteset output mode to 'quote'help
-readonlyopen the database read-onlyhelp
-s COMMANDrun "COMMAND" and exithelp
-safeenable safe-modehelp
-separator SEPset output column separator.help
-storage-version VERdatabase storage compatibility version to use.help
-tableset output mode to 'table'help
-uilaunches a web interface using the ui extension (configurable with .ui_command)help
-unredactedallow printing unredacted secretshelp
-unsignedallow loading of unsigned extensionshelp
-versionshow DuckDB versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.