Front
Back
Linux
Open‑source OS kernel used by many distributions.
Distribution (distro)
Packaged Linux + tools; examples: Ubuntu, Debian, Fedora, Arch.
Kernel
Core that manages CPU, memory, devices, and system calls.
GNU userland
CLI tools (coreutils, bash, grep, sed, awk) that sit above the kernel.
Shell
Command interpreter; common: bash, zsh, fish.
Terminal
Program that emulates a TTY to interact with the shell.
Absolute path
Path from root / (e.g., /etc/hosts).
Relative path
Path from current directory (e.g., ../logs).
Home directory
~ expands to the user’s home.
Hidden files
Names starting with .; show with ls -a.
Package manager (Debian)
apt, lower-level dpkg.
Package manager (RHEL)
dnf/yum, lower-level rpm.
Update packages (Debian)
sudo apt update && sudo apt upgrade.
Install package (Debian)
sudo apt install <pkg>.
Install package (RHEL)
sudo dnf install <pkg>.
Filesystems
Common: ext4, xfs, btrfs.
Inode
Metadata record for a file (owner, perms, timestamps, blocks).
Hard link
Directory entry pointing to same inode; ln.
Symbolic link
Pointer file to path; ln -s.
View disk layout
lsblk, blkid, fdisk -l, parted -l.
Make filesystem
mkfs.ext4 /dev/sdXn etc.
Mount filesystem
mount /dev/sdXn /mnt.
Persistent mounts
/etc/fstab entries.