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 thingzgrep(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.gzis only there if your kernel was configured withCONFIG_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
- Copyright 1994-1995, Daniel Quinlan <Daniel.Quinlan@linux.org>
- Copyright 2002-2017, Michael Kerrisk <mtk.manpages@gmail.com>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms