Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

users(1) [opensolaris 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 bugs to <bug-coreutils@gnu.org>. COPYRIGHT
Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. 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 users should give you access to the complete manual. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+--------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+--------------------+ |Availability | SUNWgnu-coreutils | +--------------------+--------------------+ |Interface Stability | Uncommitted | +--------------------+--------------------+ NOTES
Source for GNU coreutils is available on http://opensolaris.org. users 6.7 December 2006 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
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)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Finding valid users

Is there a way to determine the names of valid system users? I know that last, finger, and who will give you the names of users who have accessed the system and / or those who are currently logged onto the system. I was trying to determine a way to find the names of any valid user whether or not... (5 Replies)
Discussion started by: jrdnoland1
5 Replies

2. UNIX for Dummies Questions & Answers

grep problem

just a file with thousands of filenames and I wanna get all files with the same extension, like .Z for example.... users/123/a.Z users/424234/fafa.Z users/424234/asda.log daa/dsss/222/efesa-01002-01:00-A.Z how to solve this issue? when you make.. grep .Z file >newfile grep ".Z"... (5 Replies)
Discussion started by: svennie
5 Replies

3. Shell Programming and Scripting

Trying to get list of logged on users sorted

I'm trying to execute a single shell command that will give me a sorted list of all the users currently logged into the system, displaying the users name as it appears in /etc/passwd. I've tried awk -F: '{print $1}' /etc/passwd | xargs finger -s | cut -c11-28 | uniq This list whoever does... (7 Replies)
Discussion started by: kungfuice
7 Replies

4. UNIX for Dummies Questions & Answers

user issues

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)
Discussion started by: Lmm05
6 Replies

5. Shell Programming and Scripting

last logged on info

Hi how can I know the details of when valid system users last logged on? thanks (1 Reply)
Discussion started by: nokia1100
1 Replies

6. UNIX for Dummies Questions & Answers

Hi! Is It possible to block users?

Is It possible to block users on solaris 10, i mean, we donīt want some users loggin for 3 o 4 hours, but others can loginn :D (2 Replies)
Discussion started by: agustincm
2 Replies

7. Shell Programming and Scripting

to find the number of users logged in

Hi, can u say to display the number of users that logged before me. thanks (10 Replies)
Discussion started by: shanshine
10 Replies

8. UNIX for Dummies Questions & Answers

displaying the users

how can i list the users( and only those users) who logged in more than once? thanks in advance... (1 Reply)
Discussion started by: needyourhelp
1 Replies

9. Shell Programming and Scripting

Unique Result

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)
Discussion started by: unibboy
6 Replies

10. Programming

Get the list of logged in users

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)
Discussion started by: xyzt
2 Replies

11. UNIX for Dummies Questions & Answers

How to do i change the user permissions..

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... (1 Reply)
Discussion started by: sankasu
1 Replies

12. UNIX for Dummies Questions & Answers

Need to change permissions

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)
Discussion started by: sankasu
3 Replies

13. Shell Programming and Scripting

Number of users problem

Hi. I have a problem with my homework. I have to do a Script that will tell me the number of users that are logged in on my system through a network and find out their IP's. Can you give me an idea? Thanks (1 Reply)
Discussion started by: mitzu
1 Replies

14. Homework & Coursework Questions

Problem with users in Linux

Hi. I have a problem with my homework. I have to do a Script that will tell me the number of users that are logged in on my system through a network and find out their IP's. Can you give me an idea? Thanks (1 Reply)
Discussion started by: mitzu
1 Replies

15. UNIX for Dummies Questions & Answers

logs of commands performed by users

Hi, when 2 users are logged as root , how can i find witch one had perform witch command? Thanks, (1 Reply)
Discussion started by: prpkrk
1 Replies