How can I update Clam Antivirus via the terminal?
I already have installed
clamav, but I want to know how can I update the virus database.
To update the ClamAV database do
Once ClamAv is installed you can set up a script for right click virus scanning in Nautilus.
To update the virus database, open a terminal and enter the following command:
To automate this update you can set up a cron job. I'll show how to update the virus database every day at 8:57 AM. First, open the terminal and su to root.
Now you need to modify the crontab for the root user.
This opens the root crontab file in the nano text editor. Add the following line
to the crontab and then hit Ctrl+X to exit. Answer yes when prompted to save the file.
The right way to go is to edit freshclam.conf and add the number of dayly Checks you want