Linux system clam Antivirus antivirus software usage instructions

Source: Internet
Author: User

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.


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.


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.


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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.