Computer Linux

Linux is a free, open-source operating system family. Servers, supercomputers, Android phones, smart televisions, and many websites run on Linux. Open source means the code is public, so anyone can study it, improve it, and share it. Thousands of volunteers and companies around the world maintain it.

Kernel and Distribution

The kernel is the core of Linux. It controls the CPU, memory, and devices. Imagine a car: the kernel is the engine, and a distribution is the complete car built around that engine, with seats, a dashboard, and a paint color. A distribution, or distro, bundles the kernel with tools, a desktop, and an application store.

┌───────────────────────────────┐
│  Distribution (the full car)  │
│  ┌─────────────────────────┐  │
│  │ Desktop + Applications  │  │
│  ├─────────────────────────┤  │
│  │ System Tools            │  │
│  ├─────────────────────────┤  │
│  │ Linux Kernel (engine)   │  │
│  └─────────────────────────┘  │
└───────────────────────────────┘
          Hardware

Popular Distributions

  • Ubuntu: A friendly choice for beginners with a polished desktop.
  • Linux Mint: A familiar layout for people who come from Windows.
  • Fedora: Offers newer software and suits developers.
  • Debian: A stable base that many other distributions build on.
  • Android: Uses the Linux kernel inside billions of phones.

The Linux Folder Structure

Linux places everything under one top folder called root, written as a single slash. Windows uses drive letters such as C: and D:. Linux hangs every drive and folder from the same tree.

/  (root)
├── home      → personal files for each user
├── etc       → system settings
├── bin       → essential programs
├── usr       → installed software
├── var       → logs and changing data
├── tmp       → temporary files
└── dev       → devices such as disks

The Terminal

The terminal accepts typed commands. Typing feels slow at the start. With practice, it becomes a fast and precise way to control the computer. Each command follows a pattern: the command name, followed by options and the target.

Command    Meaning
pwd        Show the current folder
ls         List files in the folder
cd Music   Move into the folder named Music
cd ..      Go up one level
mkdir Notes  Create a folder named Notes
cp a.txt b.txt   Copy a file
mv a.txt Notes   Move a file into Notes
cat a.txt  Show the text inside a file
clear      Clear the screen

Treat the delete command, rm, with respect. Linux removes files permanently and skips any recycle bin. Check the file name twice before you press Enter.

Users and Permissions

Linux protects files with permissions. Every file lists what the owner, the group, and everyone else may do. Three actions exist: read (r), write (w), and execute (x).

-rwxr-xr--  report.sh
 │││ │││ │││
 │││ │││ └┴┴─ Others: read only
 │││ └┴┴──── Group:  read + execute
 └┴┴─────── Owner:  read + write + execute

The root user, also called the superuser, holds full control over the system. Everyday work should run as a normal user. The sudo command lends administrator power for one task at a time.

Installing Software

Linux uses package managers. A package manager downloads software from trusted online libraries called repositories, installs it, and keeps it up to date. Ubuntu and Debian use the apt tool. Fedora uses dnf. Graphical app stores offer the same service with clicks instead of typed commands.

You ──► Package Manager ──► Trusted Repository
                │
                └──► Installs + Updates the program

Why People Choose Linux

  • It costs nothing to download and use.
  • It runs well on older computers.
  • It offers strong security controls and quick updates.
  • It gives users freedom to customize almost every part.
  • It dominates server and cloud environments, so career paths in IT often involve it.

Desktop Environments

Linux lets you choose how the screen looks. GNOME, KDE Plasma, and Xfce are popular desktop environments. GNOME offers a clean, modern layout. KDE Plasma offers deep customization. Xfce runs lightly on older machines. Changing the environment changes menus, panels, and icons, while the kernel and the files remain the same.

Trying Linux Safely

Many distributions run from a USB stick in a live session without touching the installed system. Virtual machine software installs Linux inside a window on top of your current system. Both methods let you explore the desktop, the terminal, and the app store before any commitment.

Key Takeaways

  • Linux is an open-source family built on a shared kernel.
  • Distributions package the kernel with tools and desktops.
  • One folder tree starts at the root slash.
  • Commands, permissions, and package managers form the core skills.