To do One-Time scanning in ClamAV Antivirus, follow the guidelines mentioned below. (The quotes need not be entered.)
- Update Clam virus definitions by running the following command: ‘sudo freshclam’
- Scan for viruses with Clam by running the following command: ‘clamscan OPTIONS File/Folder’
- Check the file list on the computer with the following command: ‘clamscan -r /’
- Type the following command to remove infected files from the home directory: ‘clamscan -r --remove /home/USER’