Does avast auto delete file when find file have virus

Does avast auto delete file when find file have virus

Or what does avast do when i detect a file have virus.

I use this command “./avast /”

Many of Thanks

hallo,
try “avast -h”, and have a look for the switch “-p”.

regards,
pc

I have finished i scan with comand “./avast /”

And it shows i have infected file. But it does not have log or anything i can trace of which file has infected.

Is there a way i can tell which file is infected after the scan.

Thanks.

Hallo,
because the files (as they are scanned) are written to stdout, line-per-file, you can look into this output - that’s the same as “log”. Just grep for “[L]” tag.

regards,
pc