Can someone tell me where I can find the initial code, Linus Torvalds shared with hackers. I was thinking it will be a great place to learn about operating systems.
Thanks.
Can someone tell me where I can find the initial code, Linus Torvalds shared with hackers. I was thinking it will be a great place to learn about operating systems.
Thanks.
The very first kernels, starting with 0.01 are in http://www.kernel.org/pub/linux/kernel/Historic/.
It's discussed on KernelTrap. There's a good historical discussion, complete with release notes and mailing list discussions.
The linked article comes complete with this gem, which is undoubtedly what Linus looked like after release:
For the discussion, see here. For the complete Linux 0.01 release, download this and verify it with this signature.
kernel.org is the repository for the Linux Kernel. Here is the "historic" section with really old code: http://www.kernel.org/pub/linux/kernel/Historic/
I'm not so sure old Linux code is the best way to learn about an OS. For starters, it's not an OS, it's just the kernel. Look into Minix, that would be more interesting, it was created from the ground up for educational purposes.
If you want to look at the history in a "nice" way, you could use Dave Jones's Linux-History Git repository, which includes all versions (at least all the versions that still exist, sadly some of the 0.99 versions have been lost forever) from 0.01 to 2.4.0. There is another history repository from Thomas Gleixner, which covers 2.4.0 to 2.6.12 and of course everything since 2.6.12 is available in Linus's Git repository. Linus also has a repository which contains an import of the CVS export of the BitKeeper repository from 2.5.0 to 2.6.12.
You can use Git's graft feature to glue these repositories together to get a unified view of the entire history. There are also various scripts floating around that try to make these repositories even more accurate, like this one for example.
Linux is not an OS, its a Kernel. To see the first OS you need to go back and look at GNU's OS. The GNU OS originally used the Hurd kernel but to strengthen the Open Source movement RMS and the rest chose the Linux kernel.