Unloading the demokext kernel extension
This topic describes unloading the demokext kernel extension.
To unload the demokext kernel extension:
- At the $ prompt, bring the demonstration program to the
foreground by typing
fg
on the command line. At this point, the prompt changes to./demo
. - Enter
0
to unload and exit,1
to increment counters, or2
to decrement counters. The prompt is not displayed again because it was shown prior to stopping the program and placing it in the background. For the purposes of this example, enter0
to indicate that the kernel extension is to be unloaded and that the demonstration program is to terminate.