Linux powers most of the modern internet. Web servers, cloud platforms, Android phones, routers, smart TVs and even supercomputers run on the Linux kernel. If you plan to work in web development, DevOps, data science or cybersecurity, learning Linux and its command line is one of the highest-return skills you can pick up. This lesson explains what Linux actually is, why the terminal is still the professional tool of choice, and how to get a Linux environment running today.
Linux is an open-source operating system kernel first released by Linus Torvalds in 1991. The kernel is the core program that talks to your hardware: CPU, memory, disks and network cards. What most people call "Linux" is really a distribution (distro): the kernel bundled with system tools, a package manager and often a desktop environment.
Popular distributions include:
For this tutorial series we use Ubuntu, but almost every command works the same on any distro because they all share the same core utilities.
Graphical interfaces are great for everyday tasks, but the command line interface (CLI) gives you superpowers that a GUI cannot match:
cp report.pdf backup/ is faster than dragging files between windows.Almost every developer tool you will meet later—Git, Docker, Node.js, Python, Kubernetes—is designed to be driven from a terminal first.
When you open a terminal you are talking to a shell, a program that reads your commands and asks the kernel to execute them. The most common shell is Bash (Bourne Again Shell); modern Macs default to Zsh, which is nearly identical for beginners. You can check which shell you are using:
echo $SHELL
# /bin/bashThe $ symbol at the start of a prompt means you are a normal user; a # prompt means you are root (the administrator). In examples throughout this series, do not type the leading $.
You do not need to wipe your computer to practice. Pick any of these options:
# Windows: install WSL (Windows Subsystem for Linux) from PowerShell
wsl --install -d Ubuntu
# macOS: the built-in Terminal already gives you a Unix shell
# Applications > Utilities > Terminal
# Any OS: run Ubuntu in a free virtual machine with VirtualBox
# or use a browser-based playground like killercoda.comWSL is the easiest route for Windows users: it installs a real Ubuntu system that starts in seconds and shares files with Windows.
Open your terminal and try these safe, read-only commands:
whoami # prints your username
date # current date and time
uname -a # kernel name and version
echo "Hello, Linux!" # prints text to the screenIf those worked, congratulations—you have officially used the Linux command line. Every lesson from here builds on this simple loop: type a command, read the output, adjust, repeat.
$ means normal user, # means root.whoami, date and uname -a are safe ways to explore.Next lesson: Navigating the Filesystem: pwd, ls, cd — learn how to move around the Linux directory tree with confidence.