Linux
Linux is the open-source core of an operating system. It manages hardware and shares resources among programs. People also use “Linux” to mean a complete operating system built around that core, such as Ubuntu.
Also known as: линукс
The kernel is not the whole operating system
Strictly speaking, Linux is a kernel: the part of an operating system that manages resources such as CPU time, memory, and devices. A Linux distribution gives you a system you can install and maintain. Debian and Fedora, for example, both ship the Linux kernel, but they use different package managers and follow different release schedules. Knowing that a machine runs Linux doesn't tell you how to install software on it.
What happens when a program runs
Applications normally run in user space, where they can't access hardware directly. When an application needs to open a file or send data over a network, it requests a kernel operation through a system call, often via a library. The kernel checks permissions and coordinates access to the underlying resources. It also decides which runnable tasks get CPU time.
The shell lives in user space, too. Bash interprets commands and can connect one program's output to another's input; it doesn't schedule those programs or manage their memory. A service manager such as systemd is another user-space component. Many distributions use it to start and supervise services, but Linux doesn't require it.
Example: a service is up but not responding
On a host that uses systemd, these read-only checks help separate a service startup problem from a listening-port problem. Replace myapp with the actual service name.
systemctl status myapp.service
journalctl -u myapp.service -n 50
ss -ltn
The first command shows the service manager's view of the unit. The second reads recent journal entries for that unit, and the third lists listening TCP sockets. If an app listens only on 127.0.0.1, a direct connection from another host won't reach it, even if the service is marked active. A listening socket also doesn't prove the app is healthy: it can accept a connection and still return an error.
Where the distinction matters
You'll encounter Linux on cloud VMs, CI runners, and Kubernetes nodes. A VM boots its own guest kernel. A Linux container shares the kernel of its Linux host: namespaces limit what its processes can see, and control groups (cgroups) track and limit resource use. That's why cat /etc/os-release inside a container can identify the distribution in the image while uname -r reports the running host kernel's release.
What interviewers look for
Expect to explain what a command tells you and what it doesn't. For instance, if a disk usage alert fires, distinguish filesystem usage (df) from usage found by walking a directory tree (du). If the two disagree, check that you're comparing the same filesystem and consider whether a process is still holding a deleted file open.