What Is Linux
Linux is an operating system built around a core called the kernel. Linux runs on phones, laptops, and small computers.
Ask for the name
This line asks Linux for its name.
$ uname -sAsk for the kind
This line asks for the kind of operating system.
$ uname -oAsk for the distribution
This line asks for the distribution on this machine.
$ lsb_release -dExample
$ uname -s
$ uname -o
$ lsb_release -dKey points
- Linux is an operating system with a kernel at its core.
- An operating system is the software that runs a computer.
- The kernel is the core of the operating system.
- A distribution is a ready-made version of Linux built around the kernel.
- Ubuntu is one distribution of Linux.
- Open source means the source code is open for anyone to read and change.
In this example, three lines ask three facts. The first line gives the name Linux. The second line gives the kind GNU/Linux. The third line gives the distribution Ubuntu 24.04.5 LTS. The numbers after Ubuntu name one release, and they change with each new release.
Note
A distribution can look different on the screen and still run the same Linux core.
Try it Yourself
Edit the code, then press Run.
Running is simulated
Exercise
What is Linux?