{
    "mode": "info",
    "parameter": "whoami",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/whoami/json",
    "generated": "2026-11-15T16:31:55Z",
    "sections": {
        "File: coreutils.info,  Node: whoami invocation,  Next: groups invocation,  Prev: logname invocation,  Up: User information": {
            "content": "",
            "subsections": [
                {
                    "name": "20.3 'whoami': Print effective user name",
                    "content": "'whoami' prints the user name associated with the current effective user\nID.  It is equivalent to the command 'id -un'.\n\nThe only options are '--help' and '--version'.  *Note Common\noptions::.\n\nAn exit status of zero indicates success, and a nonzero value\nindicates failure.\n"
                }
            ]
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}