proc_config.gz(5)

๐ŸŽ€ proc_config.gz(5) โ€” File Formats Manual ๐ŸŽ€

okay bestie come CLOSE, because today we're talking about /proc/config.gz, which is genuinely one of the most underrated little files in all of Linux. it's giving "receipts for your kernel" and honestly? iconic. ๐Ÿ’…


โœจ NAME โœจ

/proc/config.gz โ€” kernel build configuration ๐Ÿงš


๐ŸŒธ DESCRIPTION ๐ŸŒธ

๐Ÿ’– /proc/config.gz (as of Linux 2.6)

so. this file straight-up exposes the configuration options that were used to build the kernel you're currently running. like, the actual receipts. ๐Ÿ‘‘

and it shows them in exactly the same format they'd appear in the .config file that came out of configuring the kernel โ€” you know, with make xconfig, make config, or whatever similar thing you used. same layout, same energy.

one thing though: the file contents are compressed. so don't just cat it and expect to read it, babes, you'll get a screen of vibes and no facts. ๐Ÿ˜ญ view it or search it with zcat(1) and zgrep(1) instead:

  • zcat(1) โ€” for when you want to read the whole thing
  • zgrep(1) โ€” for when you want to hunt for one specific option

also, as long as nobody's messed with this file:

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

the contents of /proc/config.gz are the same as what you'd get from:

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

no cap. same file, same truth, one's just all zipped up. ๐Ÿฆ‹

heads up: /proc/config.gz is only there if your kernel was configured with CONFIG_IKCONFIG_PROC. no config option, no file. that's the whole vibe check. ๐Ÿ’€

๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ


that's the whole page, bestie, you ate it. ๐Ÿ“

sending you off with love from Linux man-pages 6.20, dated 2026-02-08 โ€” mwah, go read your kernel config, it's lowkey fascinating ๐Ÿ’œโœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from
  • arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • ๐Ÿ“œ the page's license: GPL-3.0-or-later
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms