{
    "mode": "info",
    "parameter": "getconf",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/getconf/json",
    "generated": "2026-08-04T11:26:04Z",
    "synopsis": "getconf -a\ngetconf [-v specification] systemvar\ngetconf [-v specification] pathvar pathname",
    "sections": {
        "NAME": {
            "content": "getconf - Query system configuration variables\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "getconf -a\n\ngetconf [-v specification] systemvar\n\ngetconf [-v specification] pathvar pathname\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "",
            "subsections": [
                {
                    "name": "-a",
                    "content": "Displays all configuration variables for the current system\nand their values.\n",
                    "flag": "-a"
                },
                {
                    "name": "-v",
                    "content": "Indicate the specification and version for which to obtain\nconfiguration variables.\n\nsystemvar\n\nA system configuration variable, as defined by sysconf(3) or\nconfstr(3).\n\npathvar\n\nA system configuration variable as defined by pathconf(3). This\nmust be used with a pathname.\n",
                    "flag": "-v"
                }
            ]
        },
        "AUTHOR": {
            "content": "getconf was written by Roland McGrath for the GNU C Library\n\nThis man page was written by Ben Collins <bcollins@debian.org> for the\nDebian GNU/Linux system.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "sysconf(3), pathconf(3), confstr(3)\n\n3rd Berkeley Distribution           squeeze                         GETCONF(1)",
            "subsections": []
        }
    },
    "summary": "getconf - Query system configuration variables",
    "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. systemvar A system configuration variable, as defined by sysconf(3) or confstr(3). pathvar A system configuration variable as defined by pathconf(3). This must be used with a pathname."
        }
    ],
    "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"
        }
    ]
}