Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
278
rated 0 times [  278] [ 0]  / answers: 1 / hits: 533754  / 2 Years ago, sun, january 16, 2022, 8:29:37

I installed ClamAV via Terminal (Ctrl+Alt+T) with:



sudo apt-get install clamav


but how can I scan for viruses?


More From » security

 Answers
1

Terminal



At first you have to update the virus definitions with:



sudo freshclam


Then you can scan for viruses.



clamscan OPTIONS File/Folder 


If necessary start with root permissions: sudo clamscan.



Examples:




  • To check all files on the computer, displaying the name of each file:



    clamscan -r /

  • To check all files on the computer, but only display infected files and ring a bell when found:



    clamscan -r --bell -i /

  • To scan all files on the computer but only display infected files when found and have this run in the background:



    clamscan -r -i / &


    Note - Display background process's status by running the jobs command.


  • To check files in the all users home directories:



    clamscan -r /home

  • To check files in the USER home directory and move infected files to another folder:



    clamscan -r --move=/home/USER/VIRUS /home/USER

  • To check files in the USER home directory and remove infected files (WARNING: Files are gone.):



    clamscan -r --remove /home/USER

  • To see more options:



    clamscan --help



See:





Graphical User Interface: ClamTK Install clamtk



ClamTk is a frontend for ClamAV. You can install it via Terminal with:



sudo apt-get install clamtk


You can get the latest version from Bitbucket as Debian package.



There is also a PPA (Outdated):



sudo apt-add-repository ppa:landronimirc/clamtk
sudo apt-get update && sudo apt-get install clamtk


clamtk screenshot



Scan Menu: Here you can choose a file, folder or a device for scanning



clamtk scan menu screenshot



View Menu:



clamtk view menu screenshot



Quarantine Menu:



clamtk quarantine menu screenshot



Advanced Menu:



clamtk advanced menu screenshot



Help Menu: Here you can check for updates.



clamtk help menu screenshot



See:




[#32880] Tuesday, January 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ithriv

Total Points: 46
Total Questions: 115
Total Answers: 96

Location: Malaysia
Member since Wed, May 11, 2022
2 Years ago
ithriv questions
Tue, Mar 14, 23, 14:31, 1 Year ago
Wed, Oct 5, 22, 02:59, 2 Years ago
Fri, Mar 11, 22, 10:12, 2 Years ago
Thu, May 11, 23, 10:55, 1 Year ago
Sun, Sep 26, 21, 06:47, 3 Years ago
;