sysctl.conf man page

sysctl.conf — sysctl preload/configuration file


sysctl.conf is a simple file containing sysctl values to be read in and set by sysctl. The syntax is simply as follows:

# comment
; comment

token = value

Note that blank lines are ignored, and whitespace before and after a token or value is ignored, although a value can contain whitespace within. Lines which begin with a # or ; are considered comments and ignored.


# sysctl.conf sample
  kernel.domainname =
; this one has a space which will be written to the sysctl!
  kernel.modprobe = /sbin/mod probe


The paths where sysctl preload files usually exist. See also sysctl option --system.

See Also



George Staikos

Reporting Bugs

Please send bug reports to

Referenced By

sysctl(8), sysctl.d(5), ufw(8), ufw-framework(8), vz.conf(5).

January 2012 procps-ng File Formats