{
    "mode": "man",
    "parameter": "users",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/users/1/json",
    "generated": "2026-06-15T13:10:51Z",
    "synopsis": "users [OPTION]... [FILE]",
    "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": []
        }
    },
    "summary": "users - print the user names of users currently logged in to the current host",
    "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"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Display a list of logged in users.",
        "examples": [
            {
                "description": "Print logged in usernames",
                "command": "users"
            },
            {
                "description": "Print logged in usernames according to a given file",
                "command": "users {{/var/log/wmtp}}"
            }
        ]
    }
}