GNU Mailutils Manual (split by node):   Section:   Chapter:FastBack: Programs   Up: mailutils dbm   FastForward: Libraries   Contents: Table of ContentsIndex: Function Index List the Database

The list command lists the content of the database:

mailutils dbm list file.db

By default, entire content is listed on the standard output.

If supplied more than one command line argument, this mode treats the rest of arguments after the database file name as the keys to look for and lists only records with these keys:

$ mailutils dbm list file.db foo bar
foo 1
bar 56

The --glob and --regex options instruct the tool to use UNIX globbing or extended regular expression matching, correspondingly. These were described in detail above.