The idea that Linux does not get viruses is a myth (http://scalibq.wordpress.com/2013/08/11/hand-of-thief-commercial-linux-malware-kit/).
Windows may have more viruses, but that does not mean that Windows is guaranteed to get a virus. If you open e-mail attachments from people you do not know, run programs without scanning them first, setting insecure root password on your computer, no amount of Windows or Linux can help you there! 🙂
Posted in Operating Systems