diff --git a/pages/common/clamav.md b/pages/common/clamav.md new file mode 100644 index 000000000..c71256af3 --- /dev/null +++ b/pages/common/clamav.md @@ -0,0 +1,17 @@ +# ClamAV + +> Open-source anti-virus program. +> ClamAV isn't a command, but a set of commands. +> More information: . + +- Show the tldr page for scan files using the `clamd` daemon: + +`tldr clamdscan` + +- Show the tldr page for scan files without the `clamd` daemon running: + +`tldr clamscan` + +- Show the tldr page for update the virus definitions: + +`tldr freshclam` diff --git a/pages/common/freshclam.md b/pages/common/freshclam.md new file mode 100644 index 000000000..3fd5b09e6 --- /dev/null +++ b/pages/common/freshclam.md @@ -0,0 +1,8 @@ +# freshclam + +> Update virus definitions for ClamAV antivirus program. +> More information: . + +- Update virus definitions: + +`freshclam` diff --git a/pages/linux/clamav.md b/pages/linux/clamav.md deleted file mode 100644 index 5b0abef72..000000000 --- a/pages/linux/clamav.md +++ /dev/null @@ -1,21 +0,0 @@ -# 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}}`