J
J
jozess2017-03-03 11:56:31
Debian
jozess, 2017-03-03 11:56:31

How to run ClamAV in the background?

In general, I run the clamscan command in the console -i -r /var/www/company/data/www/ --log=/var/log/clamav/clamscanmy.log Scans
everything. Only infected files are written to the log... But if you close the console, the clamscan process is killed, and everything is interrupted.
I need to scan the entire system, and it will take, I think, several weeks. How to run ClamAV in the background so that infected files are written to the log? Debian installed.
clamscan -i -r /var/www/company/data/www/ --log=/var/log/clamav/clamscanmy.log & - at the end (&) - doesn't help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2017-03-03
@jozess

Run screen\tmux first, and then start scanning in it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question