# proc_config.gz - kernel build configuration - man(5) - [phpMan]

[_proc_config.gz_(5)](https://www.chedong.com/phpMan.php/man/procconfig.gz/5/markdown)                        File Formats Manual                       [_proc_config.gz_(5)](https://www.chedong.com/phpMan.php/man/procconfig.gz/5/markdown)

## NAME
       /proc/config.gz - kernel build configuration

## DESCRIPTION
       _/proc/config.gz_ (since Linux 2.6)
              This file exposes the configuration options that were used to build the currently run‐
              ning  kernel,  in  the same format as they would be shown in the _.config_ file that re‐
              sulted when configuring the kernel (using _make_ _xconfig_, _make_ _config_, or similar).  The
              file contents are compressed; view or search them using [**zcat**(1)](https://www.chedong.com/phpMan.php/man/zcat/1/markdown) and [**zgrep**(1)](https://www.chedong.com/phpMan.php/man/zgrep/1/markdown).  As long
              as no changes have been made to the following file, the  contents  of  _/proc/config.gz_
              are the same as those provided by:

                  cat /lib/modules/$(uname -r)/build/.config

              _/proc/config.gz_  is  provided  only  if  the  kernel  is configured with **CONFIG_IKCON‐**
              **FIG_PROC**.

## SEE ALSO
       [**proc**(5)](https://www.chedong.com/phpMan.php/man/proc/5/markdown)

Linux man-pages 6.7                          2023-08-15                            [_proc_config.gz_(5)](https://www.chedong.com/phpMan.php/man/procconfig.gz/5/markdown)
