From a90277f8f91acbafdbb7a63ec788caa56931edf8 Mon Sep 17 00:00:00 2001 From: nath1as Date: Mon, 5 Oct 2020 15:44:08 +0200 Subject: [PATCH] clamav: add page (#4423) --- pages/linux/clamav.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/linux/clamav.md diff --git a/pages/linux/clamav.md b/pages/linux/clamav.md new file mode 100644 index 0000000000..5b0abef721 --- /dev/null +++ b/pages/linux/clamav.md @@ -0,0 +1,21 @@ +# clamav + +> Open-source anti-virus program. +> Designed especially for e-mail scanning on mail gateways, but can be used in other contexts. +> More information: . + +- Update virus definitions: + +`freshclam` + +- Scan a file for viruses: + +`clamscan {{path/to/file}}` + +- Scan directories recursively and print out infected files: + +`clamscan --recursive --infected {{path/to/directory}}` + +- Scan directories recursively and move them into quarantine: + +`clamscan --recursive --move={{directory}}`