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
UPTIME(1) User Commands UPTIME(1)NAME
uptime - tell how long the system has been running
SYNOPSIS
uptime [OPTION]... [FILE]
DESCRIPTION
Print the current time, the length of time the system has been up, the number of users on the system, and the average number of jobs in the
run queue over the last 1, 5 and 15 minutes. Processes in an uninterruptible sleep state also contribute to the load average. 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, David MacKenzie, and Kaveh Ghazi.
REPORTING BUGS
Report uptime 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/>
COPYRIGHT
Copyright (C) 2009 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 uptime is maintained as a Texinfo manual. If the info and uptime programs are properly installed at your site,
the command
info coreutils 'uptime invocation'
should give you access to the complete manual.
GNU coreutils 7.1 July 2010 UPTIME(1)
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)
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)
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)
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)
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)
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)
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)
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)
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)