From the course: Linux System Engineer: Kernel Tuning and Remote Logging

Unlock the full course today

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

Manage kernel modules

Manage kernel modules

From the course: Linux System Engineer: Kernel Tuning and Remote Logging

Start my 1-month free trial

Manage kernel modules

- [Instructor] In addition to the kernel itself, LINUX has modules that have to match the kernel version. These modules add functionality to the kernel, which could include filesystems and device drivers. These modules are stored in slash lib, slash modules for 32 bit kernels, and slash lib64 for 64 bit kernels. Let's take a look at the slash lib directory. In a terminal, type in LS space slash lib, slash modules, slash dollar sign, left parentheses, uname, space dash R, right parentheses, slash kernel, and hit enter. The dollar sign and parentheses around uname dash R will execute that command, and the result will be inserted in its place. This is an easy way of inserting the current kernel version into the path, without having to look it up. In this modules directory, we see other directories for drivers, filesystems, network and virtualization to name a few. To see the currently loaded modules, use the LSmod command. Type in LSmod, and hit enter. Here, we have a list of modules…

Contents