Installing antivirus (ClamAV) on Ubuntu

ClamAV is an open source (GPL) antivirus engine designed for detecting Trojans, viruses, malware and other malicious threats.

# apt-get install clamAV

Update virus databases:

# freshclam

Scan files and directories for viruses

# clamscan <dir>

Example:

# clamscan -r /
<snipit>
/bin/run-parts: OK
/bin/netcat: Symbolic link
/bin/nisdomainname: OK
.....


For automated use install the package clamav-daemon:
# apt-get install clamav-daemon
 

Check Status:
# service  clamav-daemon status
 
* clamd is running