https://github.com/gotz1480/hello-world-linux-kernel-module
Linux kernel module tutorial
https://github.com/gotz1480/hello-world-linux-kernel-module
Last synced: 6 months ago
JSON representation
Linux kernel module tutorial
- Host: GitHub
- URL: https://github.com/gotz1480/hello-world-linux-kernel-module
- Owner: gotz1480
- License: gpl-3.0
- Created: 2022-12-06T02:40:26.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T08:51:27.000Z (over 2 years ago)
- Last Synced: 2025-04-04T13:13:19.183Z (6 months ago)
- Language: C
- Size: 24.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hello-world-linux-kernel-module
Linux kernel module tutorial## Loading and unloading the module
### Compile
`make`
### Load the module
`sudo insmod ./hello-world.ko`
### Check the kernel buffer
`sudo dmesg`
### List kernel modules
`lsmod`
### Unload the module
`sudo rmmod hello_world`