Fedora 28
Sponsored Link

Install Clamav AntiVirus2018/05/07

 
Install Clam AntiVirus to protect your System from Virus.
[1] Install Clamav AntiVirus.
[root@dlp ~]#
dnf -y install clamav clamav-update
[root@dlp ~]#
vi /etc/freshclam.conf
# line 8: comment out if enabled

#
Example
# update pattern files

[root@dlp ~]#
freshclam

ClamAV update process started at Mon May  7 19:25:39 2018
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
daily.cvd is up to date (version: 24547, sigs: 1936569, f-level: 63, builder: neo)
bytecode.cvd is up to date (version: 319, sigs: 75, f-level: 63, builder: neo)
[2] Try to scan System.
# scan /home

[root@dlp ~]#
clamscan --infected --remove --recursive /home
----------- SCAN SUMMARY -----------
Known viruses: 6496742
Engine version: 0.99.4
Scanned directories: 2
Scanned files: 3
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 11.948 sec (0 m 11 s)
[root@dlp ~]#

# download trial virus

[root@dlp ~]#
wget http://www.eicar.org/download/eicar.com
[root@dlp ~]#
clamscan --infected --remove --recursive .

# just detected and removed

./eicar.com: Eicar-Test-Signature FOUND
./eicar.com: Removed.

----------- SCAN SUMMARY -----------
Known viruses: 6496742
Engine version: 0.99.4
Scanned directories: 1
Scanned files: 8
Infected files: 1
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 12.607 sec (0 m 12 s)
Matched Content