Running scanner from command line

Ok maybe this is a dumb question but I could not find anything on the site telling how to run a scan from command line. I have recently installed avast on a Linux system that possibly has a virus. It installed successfully but inside all of the directories there is no file to run.

Any help suggestions would be greatly appreciated. ???

Only on the Professional version this is possible.
Running ashcmd.exe 8)

What do you want to do? Scanning after a download? If so, use ashquick.exe (without parameters in most cases).

No exe’s listed in the directories. I would assume since its linux to some some sort of .sh script. :cry: I downloaded the trial version and registered it as well.

Tech, since we are in the avast! 4 for Linux/Unix forum, is this correct for the Linux version, I didn’t think there was a pro version ?

As skleek mentions that file isn’t present.

Sorry, I haven’t noticed…

No, there isnt.

The command should be avastcmd (a binary file) that is installed with avast4server :wink:

Gracias! ;D Maybe they should make a note of that in a readme with the install or something?

Welcome to the forums.

man avast

This will give you the command and options.

Open a Konsole and type “man avast”

You can’t run it from the command line? I can’t figure out how to run it outside the terminal. Isn’t there supposed to be a GUI for it somewhere? I just have text flying past my face, and I can’t figure out how to update it.

here are the commandline options for LINUX :

virgule@monpc:~$ avast --help
Usage: avast [OPTION…] <areaname…>
avast v1.0.6 – command-line virus scanner

Options:
-_, --console Application will be working in STDIN/STDOUT mode
-a, --testall Test all of the files (default)
-b, --blockdevices Scan block devices
-c, --testfull Scan entire files
-d, --directory Scan only directory content
-i, --ignoretype Ignore virus sets
-n, --nostats No virus check statistics
-p, --continue=1234 Automatic action with infected file:
1:delete, 2:(not supported), 3:repair, 4:stop
-r, --report=[]file Create report file, '’ for OK results
-t, --archivetype[=ZGBTIJRXOQHFVPYD6UWAN] Scan archives: Z:ZIP(default),
G:GZ(default), B:BZIP2(default), T:TAR(default),
I:MIME, J:ARJ, R:RAR, X:Exec(default), O:ZOO,
Q:ARC, H:LHA, F:TNEF, V:CPIO, P:RPM, Y:ISO,
D:DBX, 6:SIS, U:OLE, W:WINEXEC(default), A:All,
N:None
-v, --viruslist=mask Show list of all specific viruses
-h, --help Give this help list
–usage Give a short usage message
-V, --version Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

Report bugs to support@avast.com.