Learn what Linux is: kernel versus distribution versus shell, which distro to learn for DevOps, and why servers and containers overwhelmingly run Linux.
Linux is an open source operating system family built around the Linux kernel. In simple terms, it is the software layer that helps your computer talk to hardware, manage files, run programs, and control memory, networking, and users.
Many people say “Linux” when they really mean a complete operating system such as Ubuntu or CentOS. That is common in everyday conversation, but it helps to separate the main pieces.
The kernel is the core of the operating system. It handles low-level jobs such as CPU scheduling, memory allocation, device drivers, and process management.
A distribution or distro is a complete Linux operating system built around the kernel. It bundles package managers, default tools, system services, documentation, and a release model. Ubuntu, CentOS Stream, and Alpine are all distros.
A shell is the command-line interface you use to interact with the system. Popular shells include bash, zsh, and sh. When you type commands like ls or cd, the shell reads your input and launches the right program.
Tip: A useful mental model is: kernel = engine, distro = complete car, shell = steering wheel.
Most modern infrastructure runs on Linux. Cloud virtual machines, Kubernetes worker nodes, containers, CI runners, load balancers, and monitoring tools often use Linux under the hood.
DevOps engineers use Linux because it is:
If you know Linux, you can move more confidently between local development, staging, and production systems.
Imagine a team deploying a web application to AWS. Their EC2 instances run Ubuntu, their Docker containers use Alpine as a base image, and their Kubernetes control tools run on Linux in CI. Even if the developers use macOS or Windows locally, the production path still depends heavily on Linux skills.
Different distros target different goals.
Ubuntu is one of the most beginner-friendly Linux distributions. It is common on cloud servers, tutorials, and developer workstations. It uses the apt package manager and has a large community.
Example package install:
CentOS Stream is closely related to Red Hat Enterprise Linux. It is often seen in enterprise environments and is useful when learning Linux administration in business settings. Red Hat style systems typically use dnf or yum.
Alpine Linux is very small and security-focused. It is especially popular in containers because of its lightweight footprint.
Note: Alpine uses musl instead of glibc, so a few binaries behave differently compared to Ubuntu or CentOS-based systems.
sudo apt update
sudo apt install nginxLinux is not just for laptops. You will meet it in several forms:
In containers, Linux becomes even more important because containers rely on Linux kernel features such as namespaces and cgroups.
Linux can run desktop environments with graphical interfaces, but in DevOps you often work mainly in the terminal. That is because servers are commonly accessed over SSH and automated with scripts.
A GUI is helpful for beginners, but command-line skills scale better when managing many systems.
For example, updating ten servers through a GUI would be slow. Running one script over SSH is much faster.
These commands help you quickly learn what kernel and distro you are using.
ssh devops@server1
uname -a
cat /etc/os-releaseLinux is open source, which means its source code can be inspected, modified, and redistributed under open source licenses. For DevOps teams, this matters because:
Open source does not automatically mean easy, but it does mean the platform is flexible and widely shared.
Linux is the foundation of much of modern infrastructure. The kernel is the core engine, a distribution packages the full operating system, and the shell gives you a command-line way to control it.
As a DevOps engineer, Linux knowledge helps you troubleshoot servers, automate tasks, manage containers, and understand what production systems are actually doing.
If you remember only one thing from this lesson, remember this: learning Linux is not just learning commands. It is learning how modern systems are operated.
Scenario: A teammate says Ubuntu, Bash, and the Linux kernel are all the same thing.
Question: Which statement correctly separates those three concepts?
Identify the difference between the Linux kernel, a distribution, and a shell.
Scenario: Your company runs CI runners, Docker containers, and cloud VMs.
Question: Why is Linux especially common in that kind of environment?
Choose the reason Linux is widely used across servers, containers, and automation.
Question: Which distribution from the lesson is especially popular as a lightweight container base image?
Pick the distribution the tutorial describes as small and common in containers.
Learn the Linux directory tree: what /etc, /var and /usr hold, /tmp versus /var/tmp, virtual /proc and /sys, and the places where disks tend to fill up.
Move around Linux with confidence: absolute versus relative paths, reading ls -l output, which versus type, man pages and fixing command not found errors.
Copy, move, delete and read files safely on Linux: why rm has no undo, cp -r versus cp -a, the trailing-slash trap, find by name and size, less versus tail.