Thursday, August 20, 2009

Linux Basics - 1

== Linux basic commands ==

The kernel: Monolithic or Modular

A monolithic kernel is one which has support for all hardware, network, and filesystem compiled into a single image file.

A modular kernel is one which has some drivers compiled as object files, which the kernel can load and remove on demand. Loadable modules are kept in /lib/modules.

-------Commands that can help --------------------

# lsmod - list currently loaded modules
# rmmod - remove a single module
# insmod - insert a single module
# depmod - create the database of module dependencies modules.dep
# modprobe -insert a module and dependencies listed in modules.dep
# modinfo - list information about the author, license type and module parameters

No comments: