loader image

Reply To: Antivirus (Debian/Ubuntu/Xubuntu) Free

What makes us different from other similar websites? Forums Tech Antivirus (Debian/Ubuntu/Xubuntu) Free Reply To: Antivirus (Debian/Ubuntu/Xubuntu) Free

#7159
thumbtak
Keymaster

If 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

  • This reply was modified 1 month ago by thumbtak. Reason: Added another command and more info
  • This reply was modified 1 month ago by thumbtak. Reason: Updated grep command
TAKs Shack