Monday, January 18, 2010

Simple clamav tutorial

To install clamav on Slackware 13, I used the SlackBuilds.org SlackBuild.

To update the database:

freshclam

To scan all files in directory dir:

cd /dir
clamscan -r -i

This will scan all files in that directory and all subdirectories, and will only print out the names of infected files.

Restart networking in Slackware 13

Couldn't easily find it, so here it is. As root, run

/etc/rc.d/rc.inet1 eth0_restart

You may have to change the "eth0" if your interface goes by a different name.