{
    "content": [
        {
            "type": "text",
            "text": "# getconf(1) (man)\n\n## TLDR\n\n> Get configuration values from your Linux system.\n\n- List [a]ll configuration values available:\n  `getconf -a`\n- List the configuration values for a specific directory:\n  `getconf -a {{path/to/directory}}`\n- Check if the system is 32-bit or 64-bit:\n  `getconf LONG_BIT`\n- Check how many processes the current user can run at once:\n  `getconf CHILD_MAX`\n- List every configuration value and then find patterns with the `grep` command (i.e every value with MAX in it):\n  `getconf -a | grep MAX`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** getconf - Query system configuration variables\n\n**Synopsis:** getconf -a\ngetconf [-v specification] systemvar\ngetconf [-v specification] pathvar pathname\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -a | — | — | Displays all configuration variables for the current system and their values. |\n| -v | — | — | Indicate the specification and version for which to obtain configuration variables. |\n\n## See Also\n\n- sysconf(3)\n- pathconf(3)\n- confstr(3)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (6 lines)\n- **DESCRIPTION** (1 lines) — 4 subsections\n  - -a (3 lines)\n  - -v (3 lines)\n  - system_var (3 lines)\n  - path_var (4 lines)\n- **AUTHOR** (5 lines)\n- **SEE ALSO** (12 lines)\n\n## Full Content\n\n### NAME\n\ngetconf - Query system configuration variables\n\n### SYNOPSIS\n\ngetconf -a\n\ngetconf [-v specification] systemvar\n\ngetconf [-v specification] pathvar pathname\n\n### DESCRIPTION\n\n#### -a\n\nDisplays all configuration variables for the current system\nand their values.\n\n#### -v\n\nIndicate the specification and version for which to obtain\nconfiguration variables.\n\n#### system_var\n\nA system configuration variable, as defined by sysconf(3) or\nconfstr(3).\n\n#### path_var\n\nA system configuration variable as defined by pathconf(3). This\nmust be used with a pathname.\n\n### AUTHOR\n\ngetconf was written by Roland McGrath for the GNU C Library\n\nThis man page was written by Ben Collins <bcollins@debian.org> for the Debian GNU/Linux\nsystem.\n\n### SEE ALSO\n\nsysconf(3), pathconf(3), confstr(3)\n\n\n\n\n\n\n\n\n\n\n3rd Berkeley Distribution                      squeeze                                    GETCONF(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "getconf",
        "section": "1",
        "mode": "man",
        "summary": "getconf - Query system configuration variables",
        "synopsis": "getconf -a\ngetconf [-v specification] systemvar\ngetconf [-v specification] pathvar pathname",
        "tldr_summary": "Get configuration values from your Linux system.",
        "tldr_examples": [
            {
                "description": "List [a]ll configuration values available",
                "command": "getconf -a"
            },
            {
                "description": "List the configuration values for a specific directory",
                "command": "getconf -a {{path/to/directory}}"
            },
            {
                "description": "Check if the system is 32-bit or 64-bit",
                "command": "getconf LONG_BIT"
            },
            {
                "description": "Check how many processes the current user can run at once",
                "command": "getconf CHILD_MAX"
            },
            {
                "description": "List every configuration value and then find patterns with the `grep` command (i.e every value with MAX in it)",
                "command": "getconf -a | grep MAX"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-a",
                "long": null,
                "arg": null,
                "description": "Displays all configuration variables for the current system and their values."
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": "Indicate the specification and version for which to obtain configuration variables."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "sysconf",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/sysconf/3/json"
            },
            {
                "name": "pathconf",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/pathconf/3/json"
            },
            {
                "name": "confstr",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/confstr/3/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-a",
                        "lines": 3,
                        "flag": "-a"
                    },
                    {
                        "name": "-v",
                        "lines": 3,
                        "flag": "-v"
                    },
                    {
                        "name": "system_var",
                        "lines": 3
                    },
                    {
                        "name": "path_var",
                        "lines": 4
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 12,
                "subsections": []
            }
        ]
    }
}