Most books and courses introduce Linux through shell commands, leaving the kernel as a mysterious black box doing magic behind the scenes. In this post, we will run some experiments to demystify it: the Linux kernel is just a binary that you can build and run.
It’s a program certainly, but “just a program” is a bit misleading because it places it on the same footing as Doom or cat or an Arduino project. Linux is a ring 0 program, which processors give unique treatment.
Reminds me of not long after I started using Linux. I thought the kernel was “just a program” like cat and tried to run the kernel from the terminal, only to be disappointed when a new kernel in fact did not start running inside the terminal window.
It’s a program certainly, but “just a program” is a bit misleading because it places it on the same footing as Doom or
cator an Arduino project. Linux is a ring 0 program, which processors give unique treatment.Reminds me of not long after I started using Linux. I thought the kernel was “just a program” like
catand tried to run the kernel from the terminal, only to be disappointed when a new kernel in fact did not start running inside the terminal window.