From the course: Advanced Linux: The Linux Kernel

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Solution

Challenge: Solution - CentOS Tutorial

From the course: Advanced Linux: The Linux Kernel

Start my 1-month free trial

Challenge: Solution

(intro music plays) - [Narrator] So let's look at a way of solving the problems posed in the challenge for chapter one. I can see, a way I would do it, for example. So question number one is: what kernel version is your Linux system running? So, maybe you did some web searches and you found the command uname. So uname, stands for unix name, Linux's unix. And it has a handy option, r. And that will tell you the kernel version. So there you go, this system right now is booted into Linux kernel version 5.3.0-29-generic. That's a Ubuntu kernel by the way. Question number two. What is the size of the kernel file that corresponds to the kernel your system is running. Well, your kernel file is in the boot directory. If we do a long list of the files in boot. We see our kernel files. And kernel files generally, have vmlinuz in the name. And here on this Ubuntu system there's a soft-link called vmlinuz…

Contents