Debian GNU/Linux GETCONF(1)
getconf β Query system configuration variables
| Use Case | Command | Description |
|---|---|---|
| π List all configuration variables | getconf -a | Display all configuration variables for the current system and their values. |
| π Query a specific system variable | getconf system_var | Retrieve the value of a system configuration variable defined by sysconf(3) or confstr(3). |
| π Query a pathβdependent variable | getconf path_var pathname | Retrieve the value of a path configuration variable defined by pathconf(3) for the given path. |
getconf -a
getconf [-v specification] system_var
getconf [-v specification] path_var pathname
Displays all configuration variables for the current system and their values.
Indicate the specification and version for which to obtain configuration variables.
A system configuration variable, as defined by sysconf(3) or confstr(3).
A system configuration variable as defined by pathconf(3). This must be used with a pathname.
getconf was written by Roland McGrath for the GNU C Library.
This man page was written by Ben Collins <bcollins AT debian.org> for the Debian GNU/Linux system.
3rd Berkeley Distribution squeeze GETCONF(1)
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-05 06:27 @216.73.216.89
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format