# UPDATE-DEFAULT-WORDLIST - update default wordlist - man(8) - [phpMan]

[_UPDATE-DEFAULT-WORDLIST_(8)](https://www.chedong.com/phpMan.php/man/UPDATE-DEFAULT-WORDLIST/8/markdown)                                                [_UPDATE-DEFAULT-WORDLIST_(8)](https://www.chedong.com/phpMan.php/man/UPDATE-DEFAULT-WORDLIST/8/markdown)

## NAME
       update-default-wordlist - update default wordlist

## SYNOPSIS
        update-default-wordlist [--skip-symlinks] [--triggered]

## DESCRIPTION
       WARNING: Not to be used from the command line unless you know very well what you are doing.

       This program is intended to be called from wordlist package postinst, from **select-default-**
       **wordlist **or from dictionaries-common postinst.

       When called under dpkg control with the **--trigger **option the script is run normally,
       otherwise the dictionaries-common **update-default-wordlist **trigger is enabled for later run.

       With the **--skip-symlinks **option the symlinks setting is skipped.

       When run normally (from the command line or with **--trigger**) this script rebuilds the info at
       _/var/cache/dictionaries-common/wordlist.db_ after files under
       _/var/lib/dictionaries-common/wordlist_, reads the system default from the debconf database and
       unless disabled, set default symlinks in _/etc/dictionaries-common_ pointing to the appropriate
       files in _/usr/share/dict/_.

## OPTIONS
        --skip-symlinks  Do not try to set symlinks at /etc/dictionaries-common dir.
        --triggered      Run all the code instead of trying to enable
                         update-default-wordlist trigger

## SEE ALSO
       The dictionaries-common policy document

## AUTHORS
       Rafael Laboissiere, Agustin Martin Domingo

1.29.7                                        2023-9-07                   [_UPDATE-DEFAULT-WORDLIST_(8)](https://www.chedong.com/phpMan.php/man/UPDATE-DEFAULT-WORDLIST/8/markdown)
