πŸš€ Week 4 of My DevOps Journey: Linux Internals, Kernel & System Processes

This week, I took a deep dive into how Linux actually works under the hood β€” from system boot to process management, and how the kernel ties everything together. It’s fascinating how much happens in the background of even the simplest command!

πŸ” What I Learned This Week:

🧠 Understanding the Linux Kernel
Explored the role of the kernel as the core of the OS β€” handling memory, process scheduling, hardware interaction, and more. Learned about kernel space vs user space and how system calls bridge the two.

βš™οΈ How Linux Works: Boot to Shell
Studied the Linux boot process (BIOS β†’ Bootloader β†’ Kernel β†’ init/systemd β†’ Shell) and how the system initializes services and user sessions.

πŸ’» Advanced Linux Commands
Practiced top, htop, ps, kill, nice, df, du, uname, dmesg, and more β€” gaining insight into system performance and kernel logs.

🧰 File System and Mounting
Learned how Linux manages filesystems, mounted devices manually using mount, and checked system partitions with lsblk and fdisk.

🧠 Resources That Helped Me:

πŸ“˜ How Linux Works by Brian Ward
πŸ”— https://linuxjourney.com/
πŸ“Ί Linux Boot Process Explained
πŸ”— https://www.youtube.com/watch?v=8XW7LSy7XvQ

πŸ› οΈ Tasks Completed:

βœ”οΈ Traced the Linux boot process using logs and dmesg.
βœ”οΈ Identified and managed processes using ps, kill, nice, and top.
βœ”οΈ Mounted USB drives manually and explored /dev and /proc.
βœ”οΈ Explored system call tracing with strace.
βœ”οΈ Compared kernel versions and configurations using uname and /proc.

⚠️ Common Errors & Solutions:

❌ ErrorπŸ’‘ Solution
mount: permission deniedUse sudo and ensure the device is properly formatted
kill: operation not permittedYou can only kill processes you own, or use sudo
command not foundMake sure essential packages are installed with sudo apt install
Permission denied when accessing /procSome files are protected β€” view as root if necessary

🎯 Biggest Takeaway:

Linux isn't just a command-line interface β€” it's a beautifully structured operating system with the kernel as its brain. Understanding how it boots, manages processes, and interacts with hardware makes me feel one step closer to being a true DevOps engineer.

Let’s connect if you're exploring Linux internals or getting serious about DevOps foundations!

#DevOps #LinuxKernel #SystemAdministration #LinuxCommands #BootProcess #LinuxInternals #ShellScripting #ProcessManagement

0
Subscribe to my newsletter

Read articles from Mritunjay Tiwari directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Mritunjay Tiwari
Mritunjay Tiwari