4MLinuxThis forum is for the discussion of 4MLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Doing a full scan via antivir command gives you an option on what to do with the infected files.
But I've noticed that doing a manual scan of a file or folder for example via clamscan command only brings up a summary even after an infected file is found.
Is there a way to bring up that option during manual scan?
Doing a full scan via antivir command gives you an option on what to do with the infected files.
But I've noticed that doing a manual scan of a file or folder for example via clamscan command only brings up a summary even after an infected file is found.
Is there a way to bring up that option during manual scan?
That's not true. The "antivir" script displays more info on the screen before it starts scanning. This can be one of the following:
1) Location of log file.
2) Location of quarantine.
3) Statement that suspicious files will be deleted.
This depends on the scan option chosen by you.
That's not true. The "antivir" script displays more info on the screen before it starts scanning. This can be one of the following:
1) Location of log file.
2) Location of quarantine.
3) Statement that suspicious files will be deleted.
This depends on the scan option chosen by you.
I had a different exp.
Once I typed in antivir, it gave me an option to update the program and signature db.
After being updated, it asked me what I wanted to do if infected files are found, after choosing it starts to do a full system scan.
On a different scenario:
Manual scan via clamscan script only brings up a summary.
What I'm asking is, is there a way to bring up the [what to do with the infected files option] during a manual scan of a file or folder?
Last edited by 4mlinuxfaq; 05-29-2016 at 04:04 AM.
Once I typed in antivir, it gave me an option to update the program and signature db.
After being updated, it asked me what I wanted to do if infected files are found, after choosing it starts to do a full system scan.
That's not true. For example, if you choose to move to quarantine, you should see the following message before the scan starts: "Suspicious files will be moved to /var/clamav/quarantine."
My script is setup for scanning all files. For scanning selected files only, you must refer to the ClamAV documentation (https://www.clamav.net).
That's not true. For example, if you choose to move to quarantine, you should see the following message before the scan starts: "Suspicious files will be moved to /var/clamav/quarantine."
My script is setup for scanning all files. For scanning selected files only, you must refer to the ClamAV documentation (https://www.clamav.net).
I think you have misinterpreted my original post/question in the first place.
I acknowledge that the antivir script gives you an option on what to do with infected files prior to scanning. We both agree on that right?
Which brings me to my question.
Is there a way to bring up that same options [on what to do with infected files] during a selective scan of a file when using the clamscan script?
I think you have misinterpreted my original post/question in the first place.
I acknowledge that the antivir script gives you an option on what to do with infected files prior to scanning. We both agree on that right?
Which brings me to my question.
Is there a way to bring up that same options [on what to do with infected files] during a selective scan of a file when using the clamscan script?
Unfortunately, it's not possible. My script is designed for scanning all files. For scanning selected files only, you must refer to the ClamAV documentation (https://www.clamav.net).
Unfortunately, it's not possible. My script is designed for scanning all files. For scanning selected files only, you must refer to the ClamAV documentation (https://www.clamav.net).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.