Created
August 2, 2017 14:33
-
-
Save rohitfarmer/5478dd21bdf3e8e67420cce59a35650c to your computer and use it in GitHub Desktop.
Clam anti virus commands
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
To scan and ring the bell when infected files are found | |
------------------------------------------------------- | |
clamscan -r –bell -i /home/bill/Downloads | |
To scan the whole system (it may take a while) and remove all infected files in the process, you can use the command in the | |
following form: “clamscan -r –remove /”. Sometimes, simply removing infected files can cause even more problems or breakages. | |
I suggest that you should always check the output first and then take manual action. Alternatively, you may also use the “move” | |
command integrated as a parameter in the form of” “--move=/home/bill/my_virus_collection” (example directory). | |
To update virus database | |
------------------------ | |
sudo freshclam |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment