OS Manuals

/usr/bin/clamd

ClamAV daemon scanner

From clamav-1.5-daemon 1.5.4-r7 (enterprise-packages), captured 2026-11-09 by running clamd --help (exit 0). permalink

                      Clam AntiVirus: Daemon 1.5.4
           By The ClamAV Team: https://www.clamav.net/about.html#credits
           (C) 2025 Cisco Systems, Inc.

    clamd [options]

    --help                   -h             Show this help
    --version                -V             Show version number
    --foreground             -F             Run in foreground; do not daemonize
    --debug                                 Enable debug mode
    --log=FILE               -l FILE        Log into FILE
    --config-file=FILE       -c FILE        Read configuration from FILE
    --fail-if-cvd-older-than=days           Return with a nonzero error code if virus database outdated
    --datadir=DIRECTORY                     Load signatures from DIRECTORY
    --pid=FILE               -p FILE        Write the daemon's pid to FILE
    --cvdcertsdir=DIRECTORY                 Specify a directory containing the root
                                            CA cert needed to verify detached CVD digital signatures.
                                            If not provided, then clamd will look in the default directory.

Environment Variables:

    LD_LIBRARY_PATH                         May be used on startup to find the libclamunrar_iface
                                            shared library module to enable RAR archive support.
    CVD_CERTS_DIR                           Specify a directory containing the root CA cert needed
                                            to verify detached CVD digital signatures.
                                            If not provided, then clamd will look in the default directory.

Pass in - as the filename for stdin.
Options (10)
OptionDescriptionSource
--help, -hOutput help information and exit.help + man
--version, -VPrint the version number and exit.help + man
--foreground, -F-F Run in foreground;help + man
--debugEnable debug mode.help + man
--log FILE-l FILE Log into FILEhelp
--config-file, -c FILE-c FILE Read configuration from FILEhelp + man
--fail-if-cvd-older-than daysReturn with a nonzero error code if the virus database is older than the specified number of days.help + man
--datadir DIRECTORYLoad signatures from DIRECTORY.help + man
--pid, -p FILE-p FILE Write the daemon's pid to FILEhelp + man
--cvdcertsdir DIRECTORYSpecify a directory containing the root CA cert needed to verify detached CVD digital signatures.help + man

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