{
    "content": [
        {
            "type": "text",
            "text": "# WHOAMI (man)\n\n## NAME\n\nwhoami - print effective userid\n\n## SYNOPSIS\n\nwhoami [OPTION]...\n\n## DESCRIPTION\n\nPrint the user name associated with the current effective user ID.  Same as id -un.\n\n## TLDR\n\n> This command is an alias of `id --user --name`.\n\n- View documentation for the original command:\n  `tldr id`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (1 subsections)\n- **AUTHOR**\n- **REPORTING BUGS**\n- **COPYRIGHT**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "WHOAMI",
        "section": "",
        "mode": "man",
        "summary": "whoami - print effective userid",
        "synopsis": "whoami [OPTION]...",
        "tldr_summary": "This command is an alias of `id --user --name`.",
        "tldr_examples": [
            {
                "description": "View documentation for the original command",
                "command": "tldr id"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit"
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": [
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "whoami - print effective userid\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "whoami [OPTION]...\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Print the user name associated with the current effective user ID.  Same as id -un.\n\n--help display this help and exit\n",
                "subsections": [
                    {
                        "name": "--version",
                        "content": "output version information and exit\n",
                        "long": "--version"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Written by Richard Mlynarik.\n",
                "subsections": []
            },
            "REPORTING BUGS": {
                "content": "GNU coreutils online help: <https://www.gnu.org/software/coreutils/>\nReport any translation bugs to <https://translationproject.org/team/>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright  ©  2020 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3 or later\n<https://gnu.org/licenses/gpl.html>.\nThis is free software: you are free to change and redistribute it.  There is NO WARRANTY,  to\nthe extent permitted by law.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Full documentation <https://www.gnu.org/software/coreutils/whoami>\nor available locally via: info '(coreutils) whoami invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                   WHOAMI(1)",
                "subsections": []
            }
        }
    }
}