Tools: Day 2 - Linux Fundamentals (2026)

Tools: Day 2 - Linux Fundamentals (2026)

🐧 Linux Fundamentals Every DevSecOps & Cloud Engineer Should Know

🚀 Why Linux Matters So Much

🖥️ Understanding Linux Basics

📂 Linux File System Explained

📁 Important Linux Directories

⚡ Essential Linux Commands

📍 1. Check Current Directory

📍 2. List Files

📍 3. Change Directory

📍 4. Create Files & Folders

📍 5. Copy, Move & Delete

🔍 Viewing File Content

🔐 Linux Permissions Explained

🧠 Permission Structure

📌 Permission Types

🔧 Changing Permissions

🤔 What is 755?

👤 Users & Groups in Linux

👥 Create a User

👥 Create a Group

🔗 Add User to Group

👑 The Root User

📦 Package Management

🌐 Real DevOps Connection

🔥 Linux Skills That Make You Valuable

Some Examples

🔹 Create users & groups

🔹 Change permissions

🔹 Explore logs

🔹 Install software

🔹 Create shell scripts

💡 Final Thoughts There’s a funny truth in tech: You can spend years learning Kubernetes, Docker, Terraform, CI/CD, and cloud platforms…

but sooner or later, everything still comes back to one thing: Servers run on Linux.Containers run on Linux.Most cloud systems rely on Linux.Even modern DevSecOps pipelines silently depend on Linux permissions, users, file systems, and shell commands working correctly. And yet many beginners jump directly into “advanced DevOps” without understanding the basics. That’s like trying to fly a fighter jet before learning how steering works. So in this blog, let’s break down Linux Fundamentals in a practical, beginner-friendly, and industry-focused way. If you enter any of these fields: …Linux becomes unavoidable. Most production servers worldwide run Linux because it is: That’s why companies like: all heavily rely on Linux infrastructure. Linux is an operating system kernel that powers many distributions (distros) like: Think of Linux as the “engine” and distributions as different car models built around it. In DevOps, the most commonly used distro is usually: One of the first things beginners notice: Linux does NOT use drives like: Instead, Linux starts from a single root directory: Everything exists under this root. This tells you where you currently are. Delete folder recursively: ⚠️ Be careful with rm -rf. One wrong command can destroy an entire server. Yes… this has happened in real companies. This is extremely common in DevOps troubleshooting. This is where Linux becomes VERY important for security. Looks scary at first. But it’s simple once broken down. Give execute permission: Specific permissions: Numbers represent permissions: This is very common for scripts and applications. Linux is a multi-user operating system. That means multiple users can work on the same machine securely. Set password and details. This is heavily used in: Linux has a superuser called: Root can do EVERYTHING. That’s why production systems usually avoid direct root access. This temporarily gives admin privileges. Linux installs software using package managers. When CI/CD pipelines fail… You often debug Linux. When containers crash… You inspect Linux logs. When Kubernetes breaks… You SSH into Linux nodes. When cloud servers slow down… You monitor Linux processes. Linux is not “optional knowledge” anymore. It is the foundation layer of modern infrastructure. Companies LOVE engineers who can: ✅ Navigate servers confidently✅ Debug issues quickly✅ Understand permissions✅ Manage users securely✅ Read logs efficiently✅ Automate shell tasks✅ Work comfortably in terminal environments Because these skills directly impact: Most people try to skip Linux fundamentals because they look “basic.” But experienced engineers know the truth: The stronger your Linux foundation,

the easier DevOps, Cloud, Security, Docker, and Kubernetes become. Linux is one of those skills that compounds over time. At first, commands feel confusing. Then one day, you realize you’re managing servers, automating deployments, debugging production issues, and writing shell scripts without even thinking. That’s when Linux stops feeling like an operating system… …and starts feeling like a superpower. 🚀 Templates let you quickly answer FAQs or store snippets for re-use. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse

Code Block

Copy

/home/rahul/projects /home/rahul/projects /home/rahul/projects /home/ubuntu /home/ubuntu /home/ubuntu cd /var/log cd /var/log cd /var/log mkdir devops mkdir devops mkdir devops touch notes.txt touch notes.txt touch notes.txt cp file.txt backup.txt cp file.txt backup.txt cp file.txt backup.txt mv old.txt new.txt mv old.txt new.txt mv old.txt new.txt rm file.txt rm file.txt rm file.txt rm -rf foldername rm -rf foldername rm -rf foldername cat file.txt cat file.txt cat file.txt less file.txt less file.txt less file.txt tail -f app.log tail -f app.log tail -f app.log rwx | r-x | r-- rwx | r-x | r-- rwx | r-x | r-- chmod +x script.sh chmod +x script.sh chmod +x script.sh chmod 755 script.sh chmod 755 script.sh chmod 755 script.sh sudo adduser rahul sudo adduser rahul sudo adduser rahul sudo groupadd developers sudo groupadd developers sudo groupadd developers sudo usermod -aG developers rahul sudo usermod -aG developers rahul sudo usermod -aG developers rahul sudo apt update sudo apt update sudo apt update sudo apt install nginx sudo apt install nginx sudo apt install nginx sudo yum install nginx sudo yum install nginx sudo yum install nginx sudo dnf install nginx sudo dnf install nginx sudo dnf install nginx adduser testuser adduser testuser adduser testuser chmod 700 secret.txt chmod 700 secret.txt chmod 700 secret.txt cd /var/log cd /var/log cd /var/log sudo apt install nginx sudo apt install nginx sudo apt install nginx #!/bin/bash echo "Hello Linux" #!/bin/bash echo "Hello Linux" #!/bin/bash echo "Hello Linux" - Github Repo: https://github.com/17J/30-Days-Cloud-DevSecOps-Journey - Command Sheet: https://bash-command-sheets-k51c.vercel.app/ - Cloud Engineering - Cybersecurity - Site Reliability Engineering (SRE) - Backend Development - Platform Engineering - Kubernetes Administration - Lightweight - Open-source - Highly customizable - Automation friendly - Ubuntu Server - RHEL / Rocky Linux - home directory - inside it → user rahul - inside it → folder projects - hidden files - permissions - Owner → full access - Group → read & execute - Others → read & execute - DevOps teams - Shared servers - Kubernetes nodes - CI/CD runners - deployments - incident response - infrastructure stability