Skip to content

ichergui/hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hello world

This is a simple code source of kernel module "Hello world".

Get and build the software

Download the source code

$ cd $HOME
$ mkdir devel
$ cd devel
$ git clone https://github.com/ichergui/hello-world.git

Build

It will be possible to use the Makefile.

$ cd $HOME/devel/hello-world
$ make all

Test

Insert it into the Linux kernel

$ sudo insmod hello_world.ko
  • verification
$ lsmod | grep -i "hello"
hello_world            16384  0

Try with the command line dmesg to see what's happened.

$ dmesg | tail

Remove it from Linux kernel

$ sudo rmmod hello_world

About

Hello world kernel module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published