←All Notes
2026-10-07|Linux · Fundamental

Linux System Administration - Introduction & Linux Fundamentals

Based on Class-01 with additional explanations, historical context, practical examples, and Linux administration best practices. Visit here for more: https://github.com/Sarwarhridoy4/fluresta

Linux System Administration — Linux Fundamentals

1. Operating System

An Operating System (OS) is system software between the user and hardware. It manages hardware resources and provides services to applications.

Hardware includes CPU, RAM, storage, network, USB devices, and display.

OS Responsibilities

  • Process: create/terminate processes, CPU scheduling, multitasking
  • Memory: allocate/free RAM, isolate applications
  • Filesystem: manage files, directories, permissions
  • Devices: keyboard, mouse, printer, network, USB, storage
  • Users: accounts, groups, authentication, permissions
  • Network: IP, DNS, routing, firewall, remote access

2. UNIX History

UNIX was developed at Bell Labs in 1969.

Before UNIX, Bell Labs, MIT, and General Electric worked on Multics, an advanced multi-user OS. It became complex, slow, difficult to maintain, and expensive, so Bell Labs withdrew.

Birth of UNIX

Ken Thompson and Dennis Ritchie created a simpler OS focused on being:

  • Simple
  • Fast
  • Reliable
  • Multi-user

UNIX later influenced many modern operating systems.


3. Linux

Linux is a kernel, not a complete OS.

The kernel manages:

  • Processes
  • Memory
  • Devices
  • Filesystems
  • Networking

Applications communicate with hardware through the kernel.

Linus Torvalds

Linus Torvalds, a Finnish software engineer, released the first Linux kernel in 1991 while studying at the University of Helsinki. It began as a personal project and became a major open-source collaboration.


4. GNU and GNU/Linux

Before Linux, Richard Stallman started the GNU Project.

GNU provides important user-space components such as:

  • Bash
  • GCC
  • GNU Core Utilities
  • Editors
  • Libraries

GNU lacked a complete production-ready kernel. Combining GNU tools + Linux kernel produced a complete operating system.

Therefore, the system is often called:

GNU/Linux

5. Linux vs UNIX

Linux is UNIX-like, but it is not a copy of UNIX. Linux was independently developed while following many UNIX design principles:

  • File hierarchy
  • Shell
  • Permissions
  • Processes
  • Users
  • Pipes
  • Standard utilities

The name Linux is commonly described as:

Linus + UNIX → Linux

6. Linux Distributions

A Linux distribution packages:

Linux Kernel
+ GNU Tools
+ Package Manager
+ Applications
+ Desktop Environment (optional)

Different organizations create different distributions.


7. Red Hat Ecosystem

Fedora

Upstream, community-driven distribution focused on newer technologies, frequent updates, new kernels, GNOME, and systemd features.

Best for: developers, enthusiasts, and testing.

CentOS Stream

Between Fedora and RHEL; a rolling preview of future RHEL minor releases.

  • Features arrive before RHEL
  • More stable than Fedora
  • Less stable than RHEL
  • Useful for enterprise-feature testing

RHEL

Enterprise distribution focused on stability, testing, commercial support, and long-term support.

Common in:

  • Banks
  • Data centers
  • Government
  • Cloud infrastructure
  • Telecommunications
FeatureCentOS StreamRHEL
LicenseFreeSubscription
SupportCommunityRed Hat
UpdatesRollingStable releases
StabilityVery goodHighest
TargetTesting/developmentEnterprise

8. Linux Distribution Families

Red Hat

.rpm → dnf / yum

Examples: RHEL, Rocky Linux, AlmaLinux, Fedora, CentOS Stream.

Debian

.deb → apt

Examples: Debian, Ubuntu, Linux Mint, Kali Linux.

Arch

.pkg.tar.zst → pacman

Examples: Arch Linux, Manjaro.

SUSE

.rpm → zypper

Examples: openSUSE, SUSE Linux Enterprise.

Gentoo

Portage

Packages are generally built from source.

Slackware

.tgz / .txz → pkgtool

One of the oldest Linux distributions.


9. Package Managers

A package manager installs, updates, and removes software.

DistributionManager
Ubuntu/Debianapt
Fedora/RHEL/Rocky/AlmaLinuxdnf
Archpacman
openSUSEzypper

Examples:

# Ubuntu/Debian
sudo apt install nginx

# RHEL/Rocky/Fedora
sudo dnf install nginx

# Arch
sudo pacman -S nginx

10. Embedded Systems

An embedded system is a specialized computer designed for a dedicated task.

Examples:

  • Smart TV
  • Router
  • IP camera
  • Robot
  • IoT device
  • Network appliance
  • Washing machine
  • Smart refrigerator

Linux is popular because it is stable, lightweight, open source, and customizable.


11. Virtualization

Virtualization allows multiple operating systems to run on one physical machine.

Type 1 — Bare Metal

Runs directly on hardware.

Examples: VMware ESXi, Hyper-V Server, Xen, Proxmox VE.

Advantages: better performance, security, and enterprise use.

Type 2 — Hosted

Runs on an existing operating system.

Examples: VirtualBox, VMware Workstation, VMware Fusion, Parallels.

Advantages: easy installation, learning, development, and testing.


12. Best Practices

  • Learn concepts before memorizing commands.
  • Understand kernel vs distribution.
  • Practice Ubuntu, Rocky Linux, Fedora, etc.
  • Use VMs for safe experimentation.
  • Learn your distribution's package manager.
  • Keep systems updated.
  • Use RHEL, Rocky Linux, or AlmaLinux for production servers.

Summary

  • OS: manages hardware and provides services to applications.
  • UNIX: developed at Bell Labs in 1969 and influenced modern OS design.
  • Linux: UNIX-like kernel created by Linus Torvalds in 1991.
  • GNU: provides many essential user-space tools.
  • GNU/Linux: Linux kernel combined with GNU tools.
  • Distributions: package the kernel, tools, package manager, and applications.
  • Major families: Red Hat, Debian, Arch, SUSE, Gentoo, Slackware.
  • Red Hat progression: Fedora → CentOS Stream → RHEL.
  • Package managers include apt, dnf, pacman, zypper, and Portage.
  • Linux powers servers, desktops, embedded devices, cloud infrastructure, and IoT.
  • Virtualization allows multiple OS environments on one physical machine.
  • Understanding these concepts provides a strong foundation for Linux system administration.