Clamscan: Unterschied zwischen den Versionen
Zeile 17: | Zeile 17: | ||
== Exit-Status == | == Exit-Status == | ||
{| class="wikitable sortable" | |||
|- | |||
! Exit-Code !! Beschreibung | |||
|- | |||
| 0 || No virus found | |||
|- | |||
| 1 || Virus(es) found | |||
|- | |||
| 2 || Some error(s) occurred. | |||
|} | |||
= Konfiguration = | = Konfiguration = |
Version vom 16. Mai 2022, 23:21 Uhr
clamscan scannt Dateien nach Schadsoftware
Beschreibung
clamscan is a command line anti-virus scanner
Installation
Syntax
$ clamscan [options] [file/directory/-]
Parameter
Optionen
Most of the options are simple switches which enable or disable some features. Options marked with [=yes/no(*)] can be optionally followed by =yes/=no; if they get called without the boolean argument the scanner will assume 'yes'. The asterisk marks the default internal setting for a given option.
Umgebungsvariablen
Exit-Status
Exit-Code | Beschreibung |
---|---|
0 | No virus found |
1 | Virus(es) found |
2 | Some error(s) occurred. |
Konfiguration
Dateien
Anwendungen
Scan a single file
$ clamscan file
Scan a current working directory
$ clamscan
Scan all files (and subdirectories) in /home
# clamscan -r /home
Load database from a file
$ clamscan -d /tmp/newclamdb -r /tmp
Scan a data stream
$ cat testfile | clamscan -
Scan a mail spool directory
# clamscan -r /var/spool/mail
Sicherheit
Dokumentation
Man-Pages
Info-Pages
Projekt-Homepage
Links
Siehe auch
Weblinks
Einzelnachweise
Testfragen
Testfrage 1
Antwort1
Testfrage 2
Antwort2
Testfrage 3
Antwort3
Testfrage 4
Antwort4
Testfrage 5
Antwort5