Which three methods might be used to change kernel parameters, thereby modifying the values for running system?

Which three methods might be used to change kernel parameters, thereby modifying the values
for running system?

Which three methods might be used to change kernel parameters, thereby modifying the values
for running system?

A.
Using the echo command to write values to specific files in the /sys directory

B.
Issuing the sysct1 -w command to write values to specific files in the /proc/sys directory

C.
Issuing the sysct1 -w command to write values to specific files in the /sys directory

D.
Adding to or modifying parameters in /etc/sysct1.conf and issuing the sysct1 -p command

E.
Using the echo command to write values to specific files in the /proc/sys directory

Explanation:



Leave a Reply 4

Your email address will not be published. Required fields are marked *


lilacmega

lilacmega

The answer is B,D,E
====================

Jef Adams

Jef Adams

man sysctl

-w, –write
Use this option when you want to change a sysctl setting. –> B

-p[FILE], –load[=FILE]
Load in sysctl settings from the file specified or /etc/sysctl.conf if none given. Specifying as filename means reading data from standard input. Using this option will mean arguments to sysctl are files, which are read in the order they are specified. The file argument may be specified as regular expression. –> D

kernel param are located in /proc/sys –> E

not A, not C /sys has info about block devices, firmware, classes