π 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 denied | Use sudo and ensure the device is properly formatted |
kill: operation not permitted | You can only kill processes you own, or use sudo |
command not found | Make sure essential packages are installed with sudo apt install |
Permission denied when accessing /proc | Some 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
Subscribe to my newsletter
Read articles from Mritunjay Tiwari directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
