| users(1) | General Commands Manual | users(1) |
NAME¶
users - Print the user names of users currently logged in to the current host.
SYNOPSIS¶
users [-h|--help] [-V|--version] [file]
DESCRIPTION¶
Print the user names of users currently logged in to the current host.
OPTIONS¶
- -h, --help
- Print help
- -V, --version
- Print version
- [file]
EXTRA¶
Output who is currently logged in according to FILE. If FILE is not specified, use /var/run/utmp. /var/log/wtmp as FILE is common.
VERSION¶
v(uutils coreutils) 0.7.0
EXAMPLES¶
Print logged in usernames:
users
Print logged in usernames according to a given file:
users /var/log/wmtp
The examples are provided by the tldr-pages project <https://tldr.sh> under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail.
| users (uutils coreutils) 0.7.0 |