Day 5 โ Understanding Linux


๐ 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.
Subscribe to my newsletter
Read articles from Shaharyar Shakir directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
