Linux · Linux Kernel & Modules

sysctl and echoing into /proc/sys both change a runtime parameter, but one is preferred and one makes the change survive a reboot. How do sysctl -w, -a, -p, and /etc/sysctl.conf fit together?

Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.

Get it on App StoreGet it on Google Play

This is one card from the KnowCard library — thousands more across SAP, Linux, Python and more. In the app you get the answer, AI explanations, and cards that come back right before you would forget them. Free to start on iOS, Android or the web.

More in Linux Kernel & Modules

A driver is clearly working but its module name never appears in lsmod output. What is the most likely explanation?
What does it mean that the Linux kernel is modularized, and why is that an advantage when you swap out hardware?
When you plug in a USB stick and its filesystem module loads on its own, which kernel component did that, and what configures it?
Why does each installed kernel version get its own separate module directory, and how do you find the right one for the running kernel?
You need to load a module by name and want its dependencies pulled in automatically. Do you reach for insmod or modprobe, and why does the distinction matter?
How do you find out which kernel module is actually driving a given PCI device versus which modules are merely available for it?

Start learning today

Free to start — download the app or use it in your browser.

Get it on App StoreGet it on Google Play