Linux forced to delete the U disk virus skills

  

System virus in addition to browsing the web, the U disk is also the source of the virus, if you find a virus in the U disk, it must be eliminated in time, but sometimes can not be deleted, encountered this situation How to solve it? The following small series will tell you how to solve the U disk virus deletion in Linux.

Enter the ls -l command but found that property is not actually all?

The result is impossible to delete.

After multiple queries, the reason is that Linux can't handle it with “. ” The file at the end. So can't be deleted in this place.

But the solution is yes.

The method is as follows:

If you are automatically mounting the USB flash drive, please umount

Then, enter the following:

sudo mount -t msDos /dev/sd* /media/disk

The difference between this and the default is

-t parameter changes from vfat to msdos. Because vfat is for fat32. Msdos is for fat16.

When you open the USB drive again, you will find it. The name has become autorn. Because the filename of fat16 can only display 6 digits. If there are many that can only be used, omit.

The above is the introduction of the solution for removing the U disk virus in Linux. If you find a suspicious file in the U disk and cannot delete it, you can force it to delete according to the method described in this article.

Copyright © Windows knowledge All Rights Reserved