![]() ![]() Those running Linux on a local machine with a window manager can also install the ClamTK graphical wrapper. To learn more about clamscan options, check the manual: man clamscan You can also create a cron job to run ClamAV scans automatically. Scan files and move infected files to a different directory: clamscan -r -move=/path-to-folder /path-to-quarantine-folder Scan files and send results of infected files to a results file: clamscan -r /path-to-folder | grep FOUND > /path-folder/file.txt Scan files but don’t show OK files: clamscan -r -o /path-to-folder Scan files but only show infected files: clamscan -r -i /path-to-folder Scan all files, starting from the current directory: clamscan -r / Restart the service to update the database in the background:īelow are the most common options for using ClamAV clamscan in the terminal.Manually update the ClamAV signature database:.Sudo apt-get install clamav clamav-daemon -yĪfter you finish the installation, ensure your ClamAV virus signatures are up to date. Installing ClamAV is easy with the Ubuntu APT package. ![]() You may have to use sudo before each command if you’re not already logged in as root (e.g. ClamAV is also available as a cPanel server plugin.īelow we’ll cover how to install ClamAV, update the signature database, and run common command-line interface (CLI) commands. ClamAV can quarantine and delete infected files, emails, websites, and more. ClamAV is a popular open source anti-virus (AV) scanner available for Windows, macOS, and Unix-based systems. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |