14 lines
347 B
Markdown
14 lines
347 B
Markdown
# Hello_World_Kernel_Module
|
|
|
|
## Prerequisits
|
|
- requires the correct linux headers to be installed
|
|
- root access is needed
|
|
|
|
## how to run the kernel module
|
|
- `make` to build the module
|
|
- `sudo insmod hello` to run the module
|
|
- `sudo rmmod hello` to stop the module
|
|
|
|
## viewing the log
|
|
on systems that run systemd:
|
|
``` journalctl -f -k ``` |