Off late I have been looking at Antivirus solutions in linux.Â Logically it seems like a great idea to me.Â Most of the really bad viruses attack the antivirus system directly and cause major damage to the system, having your AV in a opertating system that is much more secure gives you a better guarantee that you can rescue your system.
ClamAV is a command line tool that makes protecting linux systems a simple affair.Â The system was orginally made to scan email attachments and does a great job running in the background.Â ClamAV is the prefect soulution for someone who wants to install the AV and let it take care of itself.
To Install ClamAv use the following command in Ubuntu
sudo apt-get install clamav
You can a scan of any folder using the following command
clamscan -r -i -l avscan.txt –move=avscan/. /media/disk
The above command scans the folder “/media/drive” recursively and if an infection is found the original location is stored as an enty in the “avscan.txt” file and the infected file is moved to the folder “avscan”.
Avast Antivirus is the more like the traditional Windows Antivirus.Â It has a simple UI for updates and scanning of folders and files.Â The learning curve is minimal and the antivius is updated very regularly too.
You can download and install Avast from the following location: