clamav: fix page (#8965)

pull/1/head
Axel Navarro 2022-10-12 11:21:34 -03:00 committed by GitHub
parent 55099c7d62
commit 6feacdf900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 21 deletions

17
pages/common/clamav.md Normal file
View File

@ -0,0 +1,17 @@
# ClamAV
> Open-source anti-virus program.
> ClamAV isn't a command, but a set of commands.
> More information: <https://www.clamav.net>.
- 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`

View File

@ -0,0 +1,8 @@
# freshclam
> Update virus definitions for ClamAV antivirus program.
> More information: <https://www.clamav.net>.
- Update virus definitions:
`freshclam`

View File

@ -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: <https://www.clamav.net>.
- 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}}`