Contents->Command Line
  1. Usage
  2. Options
  3. GUI Options
  4. Environment Variables
  5. Return Values

Usage

[path] specifies the file or directory to scan at startup.

[options]can be any of the following:

[options] Description
--recursive Recurse into subdirectories
-r Same as --recursive
--executables-only Scan executable files only
-x Same as --executables-only
--database <path> Set the virus database to <path> (this may be a file or directory)
-db <path> Same as --database
--help Prints the help screen and exits
--version Prints the version and exits

[GUI_options] can be any of the following:

[GUI_options] Description
--geometry <WxH+X+Y> Specifies the geometry of the windows
--fn <font> Specifies the font to be used for the lists
--fg <color> Specifies the foreground color for the lists
--bg <color> Specifies the background color for the lists
--sfg <color> Specifies the selected foreground & text color for the lists
--sbg <color> Specifies the selected background & base color for the lists
--cfg <color> Specifies the pointer cursor's foreground color
--cbg <color> Specifies the pointer cursor's background color
--bg-pixmap <path> Specifies the background pixmap for the lists
--sbg-pixmap <path> Specifies the selected background pixmap for the lists
--name <name> Specifies the WM window name
--class <class> Specifies the WM class name
--title <title> Specifies the title to be displayed on the title bars

[GUI_options] can be any options standard to your GUI, consult your GUI's manual for available options.

<path...> specifies the file(s) and/or directory(ies) to scan in text mode (used with --scan only).

Command line options override any options in the configuration file.


Back to the
top

Environment Variables

Environment Variable Description
DISPLAY Specifies the host address, display number, and screen number to connect to the X server
PATH Specifies the search path, a string containing a list of paths separated by ; characters
USERNAME Specifies the user's name
USER Fallback for USERNAME
HOME Specifies the absolute path to the user's home directory
EDITOR Specifies the command to execute the prefered text editor
EDIT Fallback for EDITOR
VIEWER Specifies the command to execute the prefered file viewer
VIEW Fallback for VIEWER
BROWSER Specifies the command to execute the prefered web browser
HELPBROWSER Specifies the command to execute the prefered help browser (if this is not set then it will fallback to BROWSER)
TMPDIR Specifies the path to the tempory files directory (default value is /tmp)

Back to the
top

Return Values

Return Value Description
0 Success
1 Virus detected or general error
2 Bad value
3 Systems error (out of memory, out of device space, etc)
4 User aborted
5 An identical operation is already in progress
6 Segmentation fault

Back to the
top
AntiVirus Scanner is Copyright © 1997-2005 WolfPack Entertainment