From the course: Advanced Linux: The Linux Kernel

Unlock the full course today

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

Kernel command line parameters

Kernel command line parameters - CentOS Tutorial

From the course: Advanced Linux: The Linux Kernel

Start my 1-month free trial

Kernel command line parameters

- [Instructor] Let's talk more about booting and GRUB and the Linux kernel, in particular, let's talk more about kernel command-line parameters. So we know the kernel can get command line arguments from GRUB and process those and affect things about how it works. Well, it turns out if you put on the command line some argument that the kernel doesn't recognize, it just ignores it. That's actually kind of handy and it's used some places in Linux so you could put some stuff there for GRUB to pass to the kernel that later on a demon or a program can look at the arguments that were passed to the kernel and look for one that it is interested in and use that information to affect how it works. So instead of configuring a program in some config file or something changing a file, you can just dynamically affect how it's going to work by having a different command line argument. So you could have say multiple ways of…

Contents