Home Learn Linux Linux Answers High Performance how to remove a virus from a pendrive from terminal
  • 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

    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
    16 Feb » 20 Feb - Atlanta - GA
  2. LFD331 Developing Linux Device Drivers
    16 Feb » 20 Feb - San Jose - CA
  3. LFS220 Linux System Administration
    16 Feb » 19 Feb - Virtual

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