{
    "content": [
        {
            "type": "text",
            "text": "# pam_getenv (man)\n\n## NAME\n\npamgetenv - get environment variables from /etc/environment\n\n## SYNOPSIS\n\npamgetenv [-l] [-s] envvar\n\n## DESCRIPTION\n\nThis tool  will print out the value of envvar from /etc/environment.  It will attempt to\nexpand environment variable references in the definition of envvar but will fail if PAM\nitems are expanded.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pam_getenv",
        "section": "",
        "mode": "man",
        "summary": "pamgetenv - get environment variables from /etc/environment",
        "synopsis": "pamgetenv [-l] [-s] envvar",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 17,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pamgetenv - get environment variables from /etc/environment\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pamgetenv [-l] [-s] envvar\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This tool  will print out the value of envvar from /etc/environment.  It will attempt to\nexpand environment variable references in the definition of envvar but will fail if PAM\nitems are expanded.\n\nThe -l option indicates the script should return an environment variable related to default\nlocale information.\n\nThe -s option indicates that the script should return an system default environment variable.\n\nCurrently neither the -l or -s options do anything.  They are included because future\nversions of Debian may have a separate repository for the initial environment used by init\nscripts and for system locale information.  These options will allow this script to be a\nstable interface even in that environment.\n\n\n\nDebian GNU/Linux                             2025-06-12                                PAMGETENV(8)",
                "subsections": []
            }
        }
    }
}