Linux is totally different world from M$ windows
first of all it's open source
and all executable programs/files also come as source code files clear language whatever programming language is used.
then there are many other programming languages used for executable files, some are
shell scripts
perl
python
and many more
the overall concept of Linux is based on 2 key points:
open source - that is visible to all and thus all can verify against built in backdoors, etc as well as all can modify, improve or fix software
security
the overall permission structure for files and folders in a Linux operating system excludes most of the virus and malware existing in the M$ world
stability
typically a Linux server or desktop runs more stable than a win OS
whatever format a program / software is written,
when it is "submitted" to the actual hardware (CPU/RAM, etc) it always is 0 and 1
that is what an electronic system processes fastest and most accurate - digital units of zero and ones
the simple fact of being open source is a basis of TRUST
in the proprietary code world such as Microsoft' windows with all related SW, all is in compiled binary packages such as .exe without source code, hence unless you do reverse engineering, no one ever knows what is inside, including hidden backdoors (access possibilities for governments, or others incl. hackers)
the fact that opensource can be modified without asking creators makes is possible that no one ever has te re-invent a wheel just for copyright or patent reasons. but if you like a peace of SW and need just a few minor modifications to adapt it to your optimized needs, you just add or modify whatever lines you need and then recompile and you have your optimized SW at a fraction of cost or time investment.
based on above criteria, a comparable commercial SW has a lower cost of operation than comparable proprietary SW. cost savings is another now even more important factor in favor of Linux.
Just as an example: several years ago, the federal government of Switzerland switched some 3000 servers to Novell Linux. For multiple reasons, including security, stability and cost.