Skip to content

Linux Foundations / Find your way around Linux ยท Step 1 of 63

Lesson: Linux HistorySwitch
โ† Linux Foundations

System administration

Linux History

How Unix, the GNU project and a student's hobby kernel came together to form the Linux systems we use today.

Linux did not appear out of nowhere. It grew from ideas that were already decades old, and knowing the story explains a lot of what you will see at the command line.

Unix comes first

In 1969, Ken Thompson, Dennis Ritchie and colleagues at Bell Labs began building Unix. In the early 1970s it was largely rewritten in the C language, which made it far easier to move to new hardware. Unix introduced habits that Linux still follows: small tools that each do one job, plain text as a common format, and pipes that connect one program to the next.

$ ls /etc | wc -l
214

Here ls lists names and wc -l counts the lines. Your number will differ.

The GNU project

In 1983 Richard Stallman announced the GNU project, with the goal of a complete Unix-like system that anyone could use, study, change and share. GNU produced a compiler (GCC), a shell (Bash) and many core utilities. In 1989 the GNU General Public License (GPL) appeared. It lets you modify and redistribute software, but if you distribute your version you must pass on the same freedoms, including the source code.

What GNU still lacked was a finished kernel, the part that manages memory, processes and hardware.

A student's kernel

In 1991 Linus Torvalds, a student at the University of Helsinki, announced on the Usenet group comp.os.minix that he was writing a free operating system for 386 PCs, "just a hobby". He was partly inspired by MINIX, a small teaching system. In 1992 Linux was relicensed under the GPL version 2, which it still uses. Version 1.0 of the kernel arrived in 1994.

Kernel versus operating system

Strictly speaking, Linux is the kernel. A usable system adds a shell, libraries, tools and applications, many from GNU, which is why some people say "GNU/Linux". You can ask the kernel what it is:

$ uname -s
Linux
$ uname -r
6.1.0-18-amd64

The release string depends on your distribution and its updates.

Distributions

Early users had to assemble the pieces themselves. Distributions solved that by bundling the kernel, software and an installer. Slackware and Debian both started in 1993 and are still maintained. Red Hat followed soon after. Today Linux runs servers, supercomputers, routers and, through Android, a great many phones.

Development of the kernel is still coordinated by Torvalds, with thousands of contributors. Since 2005 they have used Git, a version control tool Torvalds first wrote for this job.

Try it

On any Linux system, run these and read the output:

$ uname -sr
$ cat /etc/os-release
$ bash --version

The first names the kernel, the second names the distribution, and the third usually mentions GNU and its license. To practice moving around a real shell, try the shell navigation lab.

Check your understanding

Linux History

All 4 sections ยท no timer

Unlimited retries

Questions from every section are combined into one assessment. Answer them all correctly to complete the article.

Your completion saves in this browser. Sign in to sync it to your account.