78 | F-Secure Linux Security | Command Line Tools
fsav
fsav-config
fsav is a program that scans files for viruses and other malicious code.
fsav scans specified targets (files or directories) and reports any malicious code it detects.
Optionally, fsav disinfects, renames or deletes infected files.
Follow these instructions to scan files from the shell:
•
To scan all default file types on all local disks, type: fsav /
•
To scan all files in a directory and its subdirectories, enter the directory name. For example:
fsav mydirectory
•
To scan a single file, enter the file name (without wildcards). For example: fsav
myfile.exe
Recursive scan detects mounted network file system subdirectories and does not scan network
file systems. Scanning a network file system from the client would create unnecessary load on
the network and it is much slower than scanning the local file system.
If you want to scan the network file system, run fsav / on the server.
If you cannot run fsav on the server, you can scan the network file system from the client by
explicitly specifying mounted network file system directories on the fsav command line.
For example, if an NFS file system is mounted in /mnt/server1, scan it with the following
command: fsav /mnt/server1
Note: Only regular files on mounted filesystems can be scanned. Special files, such as
CD-ROM or DAT devices (/dev/st0, /dev/hda and such), cannot be scanned unless they are
mounted as filesystems, or files are extracted on a filesystem from the tape first.
For more information on command line options, see the fsav man pages or type: fsav --help
fsav-config tool creates the initial product configuration.
If you install the product using RPM packages, you have to use the fsav-config command
line tool.
Need help?
Do you have a question about the LINUX SECURITY and is the answer not in the manual?