is it correct to say that a virus written for Windows, won't work on a Linux box because the code couldn't excecute in Linux because the file structure and OS code is different?
I thought a virus written in something like Java could run on both Windows and Linux because Java isn't platform specific. So say you want a computer that has a smaller chance of getting infected. If you run Linux without Flash Player, Java, or any other cross platform app. ( by the way, aside from java and flash player, what over cross platform apps are there? )
Since most viruses are written to target Windows, your chance or getting infected are pretty low. I am keeping in mind that there are Linux viruses, I get that just because I'm running Linux I am NOT immune to viruses. I'm just going on the likelyhood.
Also, wouldn't a virus written for Windows not work on Linux because, wouldn't most viruses look for things like C:\windows\system32, or something like that? Or maybe try to put entries into the registry.