clamav: fix page (#8965)
This commit is contained in:
17
pages/common/clamav.md
Normal file
17
pages/common/clamav.md
Normal 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`
|
8
pages/common/freshclam.md
Normal file
8
pages/common/freshclam.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# freshclam
|
||||||
|
|
||||||
|
> Update virus definitions for ClamAV antivirus program.
|
||||||
|
> More information: <https://www.clamav.net>.
|
||||||
|
|
||||||
|
- Update virus definitions:
|
||||||
|
|
||||||
|
`freshclam`
|
@@ -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}}`
|
|
Reference in New Issue
Block a user