users - Print the user names of users currently logged in to the current host.
users [-h|--help]
[-V|--version] [file]
Print the user names of users currently logged in to the current host.
Print help
Print version
file]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.
v(uutils coreutils) 0.10.0
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.