Clamscan: Unterschied zwischen den Versionen

Aus Foxwiki
Zeile 15: Zeile 15:


== Umgebungsvariablen ==
== Umgebungsvariablen ==
;LD_LIBRARY_PATH
May be used on startup to find the libclamunrar_iface shared library module to enable RAR archive support.


== Exit-Status ==
== Exit-Status ==

Version vom 16. Mai 2022, 23:22 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

LD_LIBRARY_PATH

May be used on startup to find the libclamunrar_iface shared library module to enable RAR archive support.

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

  1. clamdscan(1)
  2. freshclam(1)
  3. freshclam.conf(5)

Weblinks

Einzelnachweise


Testfragen

Testfrage 1

Antwort1

Testfrage 2

Antwort2

Testfrage 3

Antwort3

Testfrage 4

Antwort4

Testfrage 5

Antwort5