I have a pendrive which is full of viruses. These viruses are
.js files. Using linux, I can open the pendrive and see which folders they are in. But when I try to remove them by pressing Del button or via
sudo rm filename.extension it gives me an error:
cannot remove 'file.lnk' : Read-only file system
All of the files on the pendrive are like this. I can't even format it with gparted but it also gives me an error message.
I have like 3 or 4 folders containing these
.js files. I can even open it with gedit but can't edit its contents. These folders' names are like:
...and the files are like:
How can I work around this? I would like to remove these files from the pendrive by terminal or any another method.