Guide: How to Set Up Custom DNS for Google Sites
While Ubuntu is widely known for its strong built-in security, scanning downloaded files or USB drives before opening them—or before sharing them with Windows users—is a smart habit. Normally, scanning with ClamAV equires opening the terminal and typing out file paths.
However, Ubuntu's built-in file manager (Nautilus) includes a hidden superpower: custom right-click scripts. With a quick 2-minute setup, you can add a "Scan with ClamAV" option directly to your right-click context menu that scans any file or folder in a popup terminal window and automatically moves infected files into a safe quarantine folder.
Before setting up the right-click menu, make sure you have ClamAV installed on your system. Open your terminal (Ctrl + Alt + T) and run:
Ubuntu automatically displays executable scripts placed inside ~/.local/share/nautilus/scripts/ in your file manager's right-click menu.
Open your terminal (Ctrl + Alt + T) and create the script file:
Save and exit Nano: Press Ctrl + O, hit Enter to save, and press Ctrl + X to close the editor.
Ubuntu will only show the script in your right-click menu once it has executable permissions. Run the following command in your terminal:
Your new security shortcut is now ready to use anywhere in your file manager:
Open Files (Nautilus) and navigate to any file or folder (such as your Downloads folder).
Right-click on the file or folder you want to inspect.
Hover over Scripts and click Scan with ClamAV.
Enter your administrator password when prompted. A terminal window will open, scan the selected items, isolate any detected threats into /var/quarantine, and stay open until you press Enter.