-
-
Save deeftah/bba89e26e09c1b62fe242ba5eb42052a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# installation | |
sudo apt-get install clamav clamav-daemon | |
sudo yum install clamav | |
# build the database | |
sudo freshclam | |
# Scan the home to find virus, make sound when found | |
sudo clamscan -r /home/user --bell | |
# Clean any potential virus found | |
sudo clamscan --infected --remove --recursive /home/user | |
# Activate background daemons | |
sudo /etc/init.d/clamav-daemon start | |
sudo /etc/init.d/clamav-freshclam start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment