{
    "content": [
        {
            "type": "text",
            "text": "# USERS (man)\n\n## NAME\n\nusers - print the user names of users currently logged in to the current host\n\n## SYNOPSIS\n\nusers [OPTION]... [FILE]\n\n## DESCRIPTION\n\nOutput  who  is  currently  logged  in  according  to  FILE.   If  FILE is not specified, use\n/var/run/utmp.  /var/log/wtmp as FILE is common.\n\n## TLDR\n\n> Display a list of logged in users.\n\n- Print logged in usernames:\n  `users`\n- Print logged in usernames according to a given file:\n  `users {{/var/log/wmtp}}`\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": "USERS",
        "section": "",
        "mode": "man",
        "summary": "users - print the user names of users currently logged in to the current host",
        "synopsis": "users [OPTION]... [FILE]",
        "tldr_summary": "Display a list of logged in users.",
        "tldr_examples": [
            {
                "description": "Print logged in usernames",
                "command": "users"
            },
            {
                "description": "Print logged in usernames according to a given file",
                "command": "users {{/var/log/wmtp}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "getent",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/getent/1/json"
            },
            {
                "name": "who",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/who/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "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": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "users - print the user names of users currently logged in to the current host\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "users [OPTION]... [FILE]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Output  who  is  currently  logged  in  according  to  FILE.   If  FILE is not specified, use\n/var/run/utmp.  /var/log/wtmp as FILE is common.\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 Joseph Arceneaux and David MacKenzie.\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": "getent(1), who(1)\n\nFull documentation <https://www.gnu.org/software/coreutils/users>\nor available locally via: info '(coreutils) users invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                    USERS(1)",
                "subsections": []
            }
        }
    }
}