I loved this video and how it was only 1 year ago from me watching it now. It was really really helpful for linux longtime beginners like me. I even bookmarked the video, liked and subscribed. Thanks for your help!
This video does not show the initial configuration of the antivirus, the creation of the configuration files, manipulating the options to make it run, it does not work in the first instance, but this information is when you already have it configured
I like this video. How can I scan all my mounted disks, move the virus in quarantene folder (under [root] / directory) and don't scan quarantene folder again? I'd like to view an advanced configuration video on clamav :)
Try this: First make a quarantine directory: mkdir /root/quarantine then use --exclude-dir to skip that directory like so: clamscan -r --exclude-dir=/root/quarantine --move=/root/quarantine / This command will start clamscan in recursive mode (traverse all sub-directories), it will exclude the quarantine directory with --exclude, move any infected files into that quarantine directory with --move, and the final slash is telling it to start at the root directory which should include all your mounted disks. Please reply and let me know how it works out.
Disregard this video. It is obsolete. The maintainer has retired. He posted an entire laundry list of reasons why he dropped this project. This included being hit by a drunk driver. Dave said that Clam-TK should be rewritten, from scratch in a new language.
i don't get it... i kinda feel that this is something that experts don't bother explaining and neebies don't dare to ask... just HOW TO SCAN THE ENTIRE SYSTEM for god's sake... for the record i come from windows, i just want to scan my whole system to find whether it's infected by anything since i find my computer behave strangely lately, but i can't seem to figure out HOW. i mean, clamTK provides buttons for scanning a file and a directory... euh... how's that gonna help me scan the whole SYSTEM ????? if it can only scan one directory then what do i need it for ? and since the directory tree is soooo diffrent from windows', i don't even know where the equivalent of C:/ is, how am i gonna scan the system file ? why has it to be so complicated jesus
imo Linux directory tree is easier to comprehend. For your question, it's / (forward slash symbol). It is the primary hierarchy root and root directory of the entire file system hierarchy. So to scan the entire system the command will be "clamscan --recursive /"
In the article is does explain how to scan the whole system. At the end of the section called "Virus scanning files from the Linux command line" it explains in detail. see here: www.putorius.net/install-configure-and-scan-for-viruses-on-linux-with-clamav.html#scanning-directories-and-sub-directories-from-the-command-line
I'm pretty sure there is a readme or something on the web. I made a script with arguments to launch a scan and I created a cron to schedule daily scans.
What I need t ok know is how to scan for a virus all the commands you've given and I still can't open clamav. Because something is locked in root and it can't fetch the package it needs. Scanned only those directories that are opened on ClamTk and found 87 possible positives all in Libreoffice suite. And a virus running amok on my system, causing lost time at work. Causing problems with files being corrupted. What happens is if there is a type window open it starts typing periods to try and stop it with the backspace or delete key. I need someone who can talk me through this and also scan the locked sections to find this thing, also ClamTk won't update no matter what I try.Im running 20.04 Focal because my computer is too slow and underrammed for anything bigger.