the same with the apple statement of appleram being 2 times better than other ram because they copied a old version of one of the memory compression methods supported by Linux for years.
Linux ram is even better.
Realistically the difference is in how Linux mitigates the common vectors for attack that Windows doesn't. Most malware targeting individual workstations gets in by either supply chain attack, vulnerable web renderer or by tricking the user into installing it.
Centralized repositories with centralized build tooling limits opportunities for supply chain attacks, plus helps prevent users from accidentally downloading a Trojan when trying to grab other software. Containerizing web applications helps limit browser exploits, and less "features" phoning home means a default incoming-deny firewall policy will largely prevent most vulnerabilities from being remotely serious.
So for an individual workstation, Linux is significantly safer from viruses. In the enterprise it's a completely different story where the threat environment does require defense in depth regardless of your choices of vendors
It probably makes you a less likely target though. I suppose that bots scan for known Widows vulnerabilities simply because that platform has a much higher market share among desktop operating systems. Besides, Linux distros offer a unified way to update all your software. On Windows, third-party software is often installed and maintained manually.
The way I have always liked to put it specifically is that Linux is not inherently more secure than windows. However Linux is inherently easier to secure than Windows. Namespaces, apparmor, seccomp-bpf, and a very fine grain limited vs super user permission system. Just to name a few top level things.
The tools are all there on basically any system, very well documented, relatively easy to use. And once you set them up they will not randomly change things on you. I say this as a system administrator having to deal with Windows constantly where Microsoft decides that they are smarter than you and fuck your group policy edits because we put out this update and we think this option is better so we're going to revert like half the shit you did. Over half my fucking job and security is just checking what did Microsoft fuck up about my security set up with this update, and trying to rotate through security vendor 2094726 to fill in the absolute basic security processes that windows doesn't provide
Regardless of us using Linux on our home computers, most businesses and services use Windows machines. Your information is likely still stored on Windows machines elsewhere if you interact with the world at all.
With that in mind, it's worth being aware of Windows security problems when they come up.
most servers actually also run linux, even microsoft(maker of windows) runs Linux on many of their servers. linux is just many times better in IO, ram , cpu, and networking. not only in compatibility and stability and security but also speed and latency. all those thigns matter to servers.
that said many very small companies store things on a nas and then acces it with windows or mac computers. which can be very annoying if you work at such a place since then you have to use a unstable computer, which has almost no free ram or cpu and will chrash when it shouldn't and you aren't allowed to install Linux on it.
but most of the internet runs Linux.
actually GNU+Linux is by far the most used operatingsystem worldwide, not only pretty much all servers, and essentially all supercomputers run it, but android, and chrome os also are Linux, but they just run something like a box on it, and people only see the box instead of Linux. then many small devices also run it, and ofcource spacecrafts and such.
in normal desktop use the score is much lower at around 2%, however that score is also affected a lot by how Linux users do not allow their os to be submitter automatically to some server, or that those are directly hosted by the developers who will not always share it with those public sources.
next to that sites and such tracking what os people use are less likely to get the info from Linux users as they are much more likely to use security tools.
steam might be seen as accurate as both on windows and Linux only select people use it, but then you only have that field of people, and then there was the bug where the steam hardware survey had a much smaller chance of triggering when running Linux(even though that might be fixed by now).
based on stats for pc desktop use 1 in 50 people would use Linux on pc, however when looking at total use desktop is but a fraction from all computers worldwide.
I think the point of my comment is being missed a bit here friend. Servers and backend use Linux, sure. The actual number of Linux users is likely under reported as you say.
But I have yet to see Linux used as a workstation OS in a place of business. Every doctor, insurance broker, banker, registry, and retail place I've visited were using Windows machines to access their infrastructure. If Windows creates vulnerabilities at entry and exit points it can still compromise information.
Yep, my company allows me to use Linux but for Compliance Reasons I need to have Microsoft Defender installed and running. Still beats Windows 11 by a mile
most antivirus apps are very invasive, heavy on resources and even spy on you. Windows defender is usually enough. However, virustotal is still recommended
Most of the time that's what people need an antivirus for, most attacks the average person will suffer will be some script that's easily caught by the antivirus.
Windows security is... fine? It could be better, but it's pretty much on par with linux security. Both have their vulns, but they're both also able to be secured enough that most (if not all) major data breaches are via phishing or other social engineering attacks, not solely software exploits. There's lots of fodder for the Linux vs. M$ debate, but this one is maybe a bit out of date.
If you actually dig deeper into the Linux security topic, you'd find out that Linux is actually not very secure. GrapheneOS developers made quite a lot of posts on what Linux distros (and the kernel) are missing in terms of security. A lot of "Linux security and the lack of viruses" rides on the waves of "there is hardly any point of creating malware for a system with such a small user base, plus you have to consider the fact that people knowledgeable enough just to install a Linux distro would be a bit more careful about their computers than the average Joe".
bootkitty wasn't implemented ever and if you use GUID Partition Table and your bios is set to uefi without csm, it can't affect you, since Bootkitty embeds itself into the Master Boot Record and there exploits the LogoFail vulrenability (this was already patched btw) with as far as i remember, a self-extracting steganographical bitmap image for arbritary code execution to bypass Secure Boot with injecting face certifications to Moklist. Also, it only runs on select devices, far from all Linux systems are vulrenabe.
Man I'm just trying to get my external speakers to work without blaring static whenever the powersave kicks in, and nobody seems to know what to do 🤷♀️