In learning to clean infected computer I am learning about ClamAV using a Fedora 18 liveCD
I used this link to get Clam installed.
First I updated my Fedora LiveCD.
yum update -y
Then I installed ClamAV.
yum install clamav clamav-update
I used VI to edit the Clam config file .
Edit these lines.
1-add a # in front of “Example” (to comment/disable it)
2-uncomment (remove the # in front of) the line “DNSDatabaseInfo current.cvd.clamav.net”
3-Localized the virus database source to the nearest one by adding a new line “DatabaseMirror db.XY.clamav.net”, and changing XY by your 2 characters country code.
4-be sure that the following line is uncomment
Shift ZZ to save and close the file and return back to the terminal window.
Then run “freshclam” in terminal. This will take about 20 minutes.
I used the program “Files” to locate where the hard drive mounted to. In this case it was “/run/media/liveuser/OS”. “OS” was the label on the hard drive. I used Terminal to navigate to the that drive and started my clamscan.
In terminal type “clamscan -r” to scan recursively(all files and directories) and hit enter.
There are more options that just scanning. Here is link that gives some fine examples.
Then you can scan for viruses.
clamscan OPTIONS File/Folder