Linux is generally more secure than Windows. Even though attack vectors are still discovered in Linux, due to its open-source technology, anyone can review the vulnerabilities, which makes the identification and resolving process faster and easier.