Antivirus (Debian/Ubuntu/Xubuntu) Free
What makes us different from other similar websites? › Forums › Tech › Antivirus (Debian/Ubuntu/Xubuntu) Free
- This topic has 3 replies, 1 voice, and was last updated 8 months ago by thumbtak.
- AuthorPosts
- May 7, 2020 at 8:20 pm #1935thumbtakKeymaster
If you need an antivirus for Linux, which most users do not, then run the following command in Terminal Emulator.
sudo apt install clamav clamtk
October 4, 2022 at 1:16 pm #6789thumbtakKeymasterHow to do a full system scan with ClamTK. Note: It is unlikely that you will have viruses outside your home folder, as that would require root. Also, note that viruses are less common with Linux, when compared to other operating systems.
1. Open ClamTK.
November 22, 2023 at 1:36 pm #7052thumbtakKeymasterHow to scan the system with terminal emulator
Install antivirus
$ sudo apt install clamav
Update database
$ sudo freshclam
Scan the whole system with information being displayed
$ clamscan -r -v --bell -i --exclude-dir="/sys" /
April 22, 2024 at 11:10 am #7159thumbtakKeymasterIf you want to create a full system log (and have it save a text file with the results), you can run the following command. Note, this will scan the whole system (with no indication it is running besides your fans might ramp up, if you have any) and create a text file for viewing any infected files, if any are found.
$ clamscan -r -v --bell -i --exclude-dir="/sys" / > clamscan-results.txt
Another command you could run is …
‘$ clamscan -r / –log=scan_results.txt’Do not open the txt file before it is complete. I would open it in an advanced text editor like sublime (https://www.sublimetext.com/) and search for the word FOUND. This will show you which files it found. You may also run the following command below to have terminal show you any files it finds that are infected.
$ grep "FOUND" scan_results.txt
- AuthorPosts
- You must be logged in to reply to this topic.