GDBMTOOL(1) GDBM GDBMTOOL(1) (NAME) gdbmtool - GDBM (SYNOPSIS) gdbmtool [-lmNnqrs] [-b SIZE] [-c SIZE] [-f FILE] [--block-size=SIZE] [--cache-size=SIZE] [--file FILE] [--newdb] [--no-lock] [--no-mmap] [--norc] [--quiet] [--read-only] [--synchronize] [DBFILE] [COMMAND [; COMMAND...]] gdbmtool [-Vh] [--help] [--usage] [--version] (DESCRIPTION) gdbmtool GDBM . DBFILE . junk.gdbm . . --newdb ( ). -N (--norc) gdbmtool .gdbmtoolrc . gdbmtool . gdbmtool . . quit (EOF) . DBFILE . . (semicolons) ( ). gdbmtool . . . (double quotes) . : Escape Expansion \a (ASCII 7) \b (ASCII 8) \f (ASCII 12) \n (ASCII 10) \r (ASCII 13) \t (ASCII 9) \v (ASCII 11) \\ \" . (OPTIONS) -b, --block-size=SIZE . -c, --cache-size=SIZE (). -f, --file=FILE FILE . -l, --no-lock . -m, --no-mmap mmap(2). -n, --newdb (truncate). -q, --quiet . -r, --read-only . -s, --synchronize . -h, --help . --usage . -V, --version . (SHELL COMMANDS) avail avail list ( ). bucket NUM NUM . cache () . close . count . current . delete KEY KEY. dir (). downgrade numsync . export FILE-NAME [truncate] [binary|ascii] () FILE-NAME. gdbm_dump(1) . truncate . (* Flat files ). (ASCII) . fetch KEY KEY. first . next ( ). hash KEY KEY. header . help ? . . history . GNU Readline . history COUNT. COUNT . history N COUNT. COUNT N. import FILE-NAME [replace] [nometa] FILE-NAME. replace . nometa . list . next [KEY] : . KEY . open FILE FILE. . . open lock mmap sync . (VARIABLES) . quit . reorganize . set [VAR=VALUE...] . . no false . snapshot FILE FILE () . . . Crash Tolerance ( ) GDBM . source FILE FILE. status . store KEY DATA DATA KEY . KEY . sync . upgrade numsync. unset VARIABLE... . version gdbm. (PIPES) (|) . Bourne : gdbmtool | . (pager) . (DATA DEFINITIONS) define . (struct) C : define key|content { defnlist } defnlist . defnlist . : type name type name [N] type name . name N type . : type meaning char () short ushort int unsigned uint long ulong llong ullong float double string ( ) stringz (null-terminated) defnlist : offset N N . pad N N (padding) . : define content { int status, pad 8, char id[3], stringz name } : define key|content type type . : string . . (VARIABLES) confirm . true . ps1 . % . : / %f %p %P (gdbm) %_ (ASCII 32) %v %% % %p>%_ . ps2 . ps1 . . %_>%_ . delim1 ( (DATA DEFINITIONS) ). , ( ) . . delim2 . , ( ) . . pager (pager) (pipe) . . PAGER . . quiet . . : cachesize (). . blocksize . . open . : newdb . -. wrcreat rw -. . . reader readonly . . filemode . 0644 . lock . . mmap . . coalesce CPU . centfree . . (SEE ALSO) gdbm_dump(1), gdbm_load(1), gdbm(3). (REPORTING BUGS) . (COPYRIGHT) (C) 2013-2025 Free Software Foundation, Inc. GPLv3+: GPL : . . GDBM GDBMTOOL(1)