For the computer system, the virus is the most dangerous, Clam Antivirus is a good virus killing software, can run in Linux, Windows and other systems, in Linux, need to use the command line Clam Antivirus, The following small series for you to introduce the Linux installation using Clam Antivirus method.
Using the clam engine directly on the command line can be very handy, such as when you connect to another machine via SSH, or when you are working on a computer with a very poor desktop system. It is also good for servers because they want to do anti-virus scanning to prevent the virus from propagating to clients connecting to this server.
Installation
You should first install the Clam antivirus engine before you start. You can search for "clam antivirus" on the corresponding package management tool and install the Master package. All dependencies should be processed automatically.
If you are using Ubuntu, you can also install it by running the sudo apt-get install ClamAV Clamav-freshclam, or the Fedora:sudo yum install ClamAV. Since clam is very lightweight, downloading and installing packages should not take much time.
Upgrade Virus Library
The first thing to do after installation is to upgrade the virus library to detect the latest threats. This step is easy to do if you run sudo freshclam. It immediately connects to the clam server and downloads the latest virus information. The first download may take some time because there is no information on the local page. Later updates are much faster because Freshclam only downloads updates that are not locally available.
Example
Once the virus library has been upgraded, you can start scanning using Clamscan. Running Clamscan–help at the terminal will list a number of different options so you can customize the scan options. However, if you want to be simple, you can run Clamscan-r/home/usr to scan the USR folder inside the home. Parameter-R is important otherwise clam will simply scan the files in USR and ignore the various subfolders inside.
Of course, if you need to scan another directory, just adjust the path. If you have other special needs, just look at the clamscan–help output. Everyone's needs are different, some will not be satisfied with the simple-r in-depth scan.
Conclusion
Above is the Linux use Clam Antivirus antivirus method introduced, in addition to the introduction of the clam antivirus use, this article also introduces the clam antivirus installation, I hope to do not know how to install clam antivirus users can help.