Last active
November 30, 2020 00:37
-
-
Save jmolinasoler/e41e652886383051ba60fc9b154563f5 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