Why do these two commands return different results?
lsmod | wc -l 100 ls /sys/module | wc -l 138
The entries in
You can see here that the iptables module is configured as a dynamic module. Contrast to:
whereas apparmor is built-in.
If it is built directly into the kernel it will only show up if it has a version or at least one parameter. The available parameters are then available in the directory: