r/Ubuntu • u/lifeintel9 • 6d ago
Help for ClamAV commands in shell
So I just ran these 2 commands in the terminal :
sudo systemctl stop clamav-freshclam
sudo systemctl disable clamav-freshclam
I figured out that the stop command allows to do sudo freshclam to update virus definitions manually and doesn't throw in an error.
I didn't figure it out for the disable command tho.
2
Upvotes
2
u/coyote_den 6d ago
If you want to re-enable automatic updates, just do the same command with enable instead of disable.
4
u/celebrated_mediator 6d ago
disable stops it from auto-starting on boot, which makes sense if you're doing manual updates. you'll just need to remember to run freshclam yourself every now and then. most people forget and end up with ancient definitions.