Day 5 β Understanding Linux
Exploring the fundamentals of Linux and its critical role in DevOps

π Why Linux?
Linux is:
Open-source and community-driven
Extremely customizable
Powers most servers, containers (like Docker), and cloud platforms
Essential for DevOps, SysAdmin, and SRE roles
π§ Linux Principles I Learned
Everything is a file (even devices!)
Permissions and ownership are critical
Users and groups define access control
The terminal is powerful, not scary
Stability and security make Linux ideal for servers
π Important Linux Directories
| Directory | Purpose |
/home | User files |
/etc | Configuration files |
/var | Logs, mail, spools |
/usr | User apps and libraries |
/bin | Essential binaries |
/sbin | System binaries |
/opt | Optional software |
/boot | Bootloader files |
π§ͺ RPM vs DEB β Two Package Worlds
| Type | Description | Used By |
| RPM | Red Hat Package Manager | RHEL, CentOS, Fedora |
| DEB | Debian Package | Debian, Ubuntu, Mint |
Each has its own tools:
rpm,yum,dnf(for RPM)dpkg,apt(for DEB)
𧬠Popular Linux Distros
| Distro | Based On | Use Case |
| Ubuntu | Debian | Beginner-friendly, servers, cloud |
| Debian | β | Stable, minimal |
| CentOS | RHEL | Enterprise servers (now replaced by CentOS Stream) |
| Fedora | RHEL | Cutting-edge |
| Arch | β | Rolling release, minimal, advanced users |
| Alpine | β | Tiny, used in containers |
π Linux in Servers
Nearly all cloud VMs (AWS, Azure, etc.) run Linux
Server distros focus on stability, CLI tools, and remote management
Youβll often SSH into Linux servers, not use a GUI
π Summary
Today helped me build a strong mental model of Linux. I understand why it's used everywhere in DevOps, and the difference between distros and packages.
Tomorrow, Iβll get hands-on with basic terminal commands and file operations.




