Skip to content

Instantly share code, notes, and snippets.

@jmolinasoler
Last active November 30, 2020 00:37
Show Gist options
  • Save jmolinasoler/e41e652886383051ba60fc9b154563f5 to your computer and use it in GitHub Desktop.
Save jmolinasoler/e41e652886383051ba60fc9b154563f5 to your computer and use it in GitHub Desktop.
# 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