How to use Maldet Antivirus via CLI

September 27, 2018 | KB, Uncategorized

maldet is a very popular antivirus for hosting, because it is known to be powerful and also free.
For how to install it, see the following link:

The following is a tutorial on how to use it after installing
to scan files or folders

to perform a scan
# maldet -a /path/to/scan OR
# maldet –scan-all /path/to/scan

to view scanning details
# maldet -e SCAN ID
# maldet –report SCAN ID

to update
# maldet -u OR
# maldet -d

to quarantine previous results
# maldet -q SCAN ID
# maldet –quarantine SCAN ID

to restore files that have been quarantined
# maldet -s FILENAME
# maldet –restore FILENAME

clear previous scan logs
# maldet –clean SCANID

en_GBEnglish (UK)