Ask HN: How is Linux better than Windows?
I hope the Hacker News community has some real hackers. What I would like to know today is...
Forgetting UI, which is better in terms of security? Linux, Windows 7 or Mac OS X? (If I am not wrong it should be Linux, as it is opensource.)
If Linux is your answer too, which is the best Linux OS? I have heard different names like Ubuntu, CentOS, Red Hat etc. Which is the best one?
UPDATE: For Desktops... Not servers!
(
24 comments
| 11 points
| on HN
)
The security is obviously better as well; and viruses/trojans are aimed at you much less often.
A huge fringe benefit to using Linux as your Desktop, for a hacker, is that you necessarily become more intimately familiar with Linux in general, which is just generally a good thing for general purpose hacking.
Long before I coded for a living; I tried using linux many times for philosophical/wanting-to-be-cool reasons; but kept going back to windows because something or another wouldn't work out of the box and I would give up before getting it fixed.
That problem is almost gone; the winning distros have made HUGE progress in user-friendliness. I finally 'stuck' to Linux around Ubuntu 8.10 when I stuck it on my computer, everything worked but my 5.1-out-of-two-jacks (stereo worked, but I wanted my surround sound goddammit), and after about 12 hours of fighting it, it worked.
To top it off, I was able to play Hon, and having played hundreds of hours of Dota.. that's all the gaming I really needed or wanted.
I was a power user on Windows, but having used linux exclusively for a couple years now I can definitely say I am WAY more efficient. It's a hard benefit to point at, but the linux philosophy of lots of small, specific programs, combined with an semi-efficient user adds up to a lot more productivity than I could get on windows.
As a developer, this goes a long long way. Countless times I have written one liners with find/sed/awk that saved someone else tons (or even just a bit) of tedious and/or time consuming work that while possible on their OS, didn't really occur to them. This probably matters less for OSX and you can definitely get all these commands on both OSes; but just constantly being inside that way of thinking, I think, leads to ever-increasing efficiency.
But.. I hate when I want a beta version of some software and it's not in the repositories. Then it's a bit annoying.
I think a mix of the Windows way and repositories would be the best for the average user.
Takes a minor bit of configuration to set up, but once you do it's as transparently beautiful as out-of-the-box yum installing.
http://www.whylinuxisbetter.net/
As to which Linux to use, http://Distrowatch.com is your friend. A few short summaries:
Gentoo or Arch if you know what you're doing.
Ubuntu or Mint for the desktop for noobs or people who want a Windows/Mac desktop replacement (eg just works, drivers easy to get, don't need to configure, etc.)
Fedora or CentOS if you want to start learning the RedHat Enterprise Linux side of things (different package managers, preference for KDE desktop instead of Gnome, etc.)
OpenSuse for... I'm not sure but I like what they're doing with it - good performance (better than Ubuntu if the last benchmarks I saw were any indication), worth keeping on your radar.
Debian and Slackware - old stalwarts, can't not mention them, Ubuntu is built on top of Debian (and Mint on top of Ubuntu).
What else...
I suggest also checking out Linux Mint (based off ubuntu), Manndriva, Fedora, and Sabayon just to get a feel for what you like... and if you're looking for a simpler environment for like a netbook or something, be sure to check out jolicloud as well. Also, distrowatch.com is a good resource for comparing and keeping tabs on popular distros.
You need to be more specific about security (do you mean external methods of compromising the machine, or some sort of in-person hack)