Archive for May, 2009

Boot Gentoo Linux faster

To get Gentoo Linux to boot faster, you can disable unnessicary services (with rc-update).

But Gentoo also provides some exceptional rc scripts. These scripts allow parrallel loading of services. The result is a system which boots much faster. To enable the parallel startup of services, add or change the following line in the file /etc/conf.d/rc:

RC_PARALLEL_STARTUP="YES"

Now, when you boot your Gentoo distro, it will be ready at a glance!

ClamScan (Linux)

To scan the current folder, with it’s underlaying folders,  use the following command (only when clamav is installed):

clamscan --log=$HOME/clamscan.log --quiet --recursive

In your home directory, the file ‘clamscan.log’ will appear. You may execute the following command to view the (filtered) results:

grep -v "Empty\|Scanning\|WARNING:\|Excluded" $HOME/clamscan.log