mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
clamav: add page (#4423)
This commit is contained in:
parent
f741c99a39
commit
a90277f8f9
1 changed files with 21 additions and 0 deletions
21
pages/linux/clamav.md
Normal file
21
pages/linux/clamav.md
Normal file
|
@ -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: <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}}`
|
Loading…
Add table
Reference in a new issue