UNIX / Linux might be the most resistant to trojans and other viruses because they are aimed more specifically at the OS with the largest user base. (that is windows with some 90%+ (with a computer) of the world using it.
Conversly, with some 60% of the world using linux/apache as a web server that also happens to be the most hacked webserver combination.