manpagez: man pages & more
info gdbm
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

20.2.4 Startup Files

Upon startup gdbmtool looks for a file named ‘.gdbmtoolrc’ first in the current working directory and, if not found, in the home directory of the user who started the command.

If found, this file is read and interpreted as a list of gdbmtool commands. This allows you to customize the program behavior.

Following is an example startup file which disables the welcome banner, sets command line prompt to contain the name of the database file in parentheses and defines the structure of the database content records:

set quiet
set ps1="(%f) "
define key stringz
define content {
        int time,
        pad 4,
        int status

This document was generated on January 24, 2014 using texi2html 5.0.

© 2000-2018
Individual documents may contain additional copyright information.