USERS(1) User Commands USERS(1)NAME
users - print the user names of users currently logged in to the current host
SYNOPSIS
users [OPTION]... [FILE]
DESCRIPTION
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.
--help display this help and exit
--version
output version information and exit
AUTHOR
Written by Joseph Arceneaux and David MacKenzie.
REPORTING BUGS
GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Report users translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO getent(1), who(1)
Full documentation at: <http://www.gnu.org/software/coreutils/users>
or available locally via: info '(coreutils) users invocation'
GNU coreutils 8.28 January 2018 USERS(1)
Check Out this Related Man Page
USERS(1) User Commands USERS(1)NAME
users - print the user names of users currently logged in to the current host
SYNOPSIS
users [OPTION]... [FILE]
DESCRIPTION
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.
--help display this help and exit
--version
output version information and exit
AUTHOR
Written by Joseph Arceneaux and David MacKenzie.
REPORTING BUGS
Report users bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report users translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for users is maintained as a Texinfo manual. If the info and users programs are properly installed at your site,
the command
info coreutils 'users invocation'
should give you access to the complete manual.
GNU coreutils 8.12.197-032bb September 2011 USERS(1)
Hi there,
I'm a beginner with UNIX and have to manage a set of 15 users. The problem we have is that there are only 15 licenses for these users, so occasionally they get locked out and can't log back on.
I've been using the ps -ef|grep command to check the users, as well as the w commnand,... (6 Replies)
First af all hi.
i want to create a batch script which inform when users log in last time on system or if they are online when they logged in.
I want ot use a file .users which has the usernames of users.
i want to print for example
peter is ONLINE: Logged in on Wed Feb 11 07:47
alex... (2 Replies)
Good day folks,
I am trying to get the logged in users with the 'users' command, but I am having difficulty in making the name of users to appear only ONCE even if they are currenly logged in more than one terminal.
I could not use uniq becuase that only work with lines, but the users command... (6 Replies)
How can I get the list of logged in users in the system programmatically?
I can get the list with 'who' or 'users' commands but I need to get the list programmatically...
May someone help, please?
Thanks in advance. (2 Replies)
A Newbie here,
I am working on a script and am having problems with the else part of the script. I can't get the users who are not logged into the system to display on the screen with their username and the text "The user is not logged in". I am sure it is something simple and stupid, but I... (5 Replies)
Hi everyone,
There are couple of users of which i need to give 2 of the users admin rights so that they are able to run the administration commands like "zoneadm" and locale.
When logged in as root i am obviously able to do that.please suggest any way by which the other 2 user's permissions can... (3 Replies)
Hello, is there any Shell Command to get a list of all the online users currently online and logged in on my machine?
finger and who both show a log of people that logged in, not the ones that are currently online. (3 Replies)
im suppose to write a script that examine how many users are logged in the student server. if there are less than 10 logged in a message suppose to display that says "there are less than 10 users currently signed on" and if there are more than 10 logged in a message suppose to display that says... (1 Reply)
Hi gurus
I am trying to compile coreutils for studying purposes. I downloaded package (exact version which target system already contains) and tried following:
./configure
make
but compiling ands with some header file dependency problem. Then I tried compile particular binary
cd... (9 Replies)
I've noticed there are two threads:-
https://www.unix.com/post-here-to-contact-site-administrators-and-moderators/250894-execute-shell-script-if-string-found-while-executing-then-exit.html#post302916404... (2 Replies)