-2

If I plug in a USB drive in to an Ubuntu (18) machine, is it possible to get a virus?

How can I see if a (Windows, Mac or other) virus is on it?

How can I format it to remove any virus?

closed as too broad by multithr3at3d, ThoriumBR, Xander, MechMK1, A. Hersean Aug 19 at 11:54

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Is ubuntu special? – Vipul Nair Aug 9 at 21:20
2

If I plug in a USB drive in to an Ubuntu (18) machine, is it possible to get a virus?

It's a bit hard (execute permissions, Linux virus are rare...), but not impossible.

How can I see if a (Windows, Mac or other) virus is on it?

You can scan the drive using an antivirus software like ClamAV (yes, it's not restricted to malware affecting just one platform)

How can I format it to remove any virus?

You can use mkfs to format the drive. Keep in mind that this will irreversibly destroy all data on the drive!

NB that depending which filesystem you put on the drive, other OS may not be able to read it.

Not the answer you're looking for? Browse other questions tagged or ask your own question.