Operation
Avira GmbH
Avira AntiVir UNIX Server
49
5
Operation
After concluding installation and configuration, AntiVir guarantees continuous scanning
on your system. During operation, there may be the need for occasional changes in
Configuration
– Page 31.
Nevertheless, a manual scan for viruses or unwanted programs might be needed. This is
where you can use AntiVir Command line scanner. This program enables scanning for
many specific targets.
AntiVir Command line scanner can be integrated into scripts and also regularly activated
by cron jobs. Users familiar with UNIX have various possibilities available to set optimum
monitoring of their systems.
This Chapter has the following structure:
•
Overview of AntiVir Command Line Scanner
– Page 49 summarizes all options for the
Command line scanner.
•
Using AntiVir Command Line Scanner
– Page 53 describes some examples of working
with the Command line scanner.
•
Reaction to Detecting Viruses/ Unwanted Programs
– Page 56 gives you some hints
on how to react when AntiVir has done its work.
5.1
Overview of AntiVir Command Line Scanner
Start
AntiVir Command line scanner starts with
/usr/lib/AntiVir/antivir [-option] [directory [...]]
If you have created a link in
/usr/bin
during installation, the following is sufficient:
antivir [-option] [directory [...]]
If you have not specified any directory, it scans only the current directory.
If you want to scan certain files in a directory, the syntax is:
antivir [-option] [directory][filename]
Options
You can use the following options for the command line scanner, in various
combinations:
Option
Function
--allfiles
Short for
--scan-mode=all
Please use the option
--scan-mode=
--alltypes
Short for
--with-alltypes
Please use the option
--with-<type>
--archive-max-
count=N
Excludes archived files from scanning, when they exceed the
limit of file numbers on recursion level.
--archive-max-
size=N
Excludes archived files, if their unpacked size exceeds the
given value.