Linux.com

Home Learn Linux Linux Answers High Performance how to remove a virus from a pendrive from terminal
Answers
  • Linux file systems aren't known to get infected by viruses. If you have a pendrive that has a NTFS file-system, the virus would have come from a computer with a Windows operating system. Either way the only way to truly rid yourself of malicious software is to format the drive. You didn't really give us enough information to help you there. You can start by telling us how you know you have a virus on a pendrive.

    Answered by Goineasy9
    5 years ago
    0 0
  • typically a virus infects a computer by appending itself to another file, e.g. extra executable code at the end of another executable, or a script in a document file that supports macros or scripting.

    What makes you think that there is a virus on the pen drive? Do you think there is an infected file, or do you think that maybe there is malicious code in the MBR of the drive? If you think it's the latter, you can probably confirm that by examining the first 512 bytes of the drive.

    Answered by gomer
    5 years ago
    0 0
  • Pendrive's don't carry registry or system files that are usually what makes a virus a difficult task to get rid if. You can plug the pen drive into a linux machine and run some scans on it using Clam AV http://www.clamav.net/lang/en/

    Answered by jmichelsen
    5 years ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category High Performance

Upcoming Linux Foundation Courses

  1. LFD312 Developing Applications For Linux
    05 Jan » 09 Jan - Virtual
    Details
  2. LFS220 Linux System Administration
    05 Jan » 08 Jan - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    12 Jan » 16 Jan - Virtual
    Details

View All Upcoming Courses

Community Answers - Search


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board