USERS(1) General Commands Manual USERS(1)NAME
users - compact list of users who are on the system
Users lists the login names of the users currently on the system in a compact, one-line format.
SEE ALSO who(1)3rd Berkeley Distribution November 27, 1996 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
users [OPTION]... [ 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.
--help display this help and exit
output version information and exit
Written by Joseph Arceneaux and David MacKenzie.
Report bugs to <email@example.com>.
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.
The full documentation for users is maintained as a Texinfo manual. If the info and users programs are properly installed at your site,
should give you access to the complete manual.
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability | SUNWgnu-coreutils |
|Interface Stability | Uncommitted |
Source for GNU coreutils is available on http://opensolaris.org.
users 6.7 December 2006 USERS(1)
I am wondering if by logging in to a unix system, if it is possible to get the IP address of the machine I am connecting FROM.
I know how I can do this using the name server, but is this possible without a host lookup?:confused:
-ghoti (15 Replies)
I am trying to write a script to list all users and their processes. I cant seem to find out how to link the PID to the user. For example if i run ps -a I get a nice list of all the processes running and their PID, but no information about which user is running them.
If i use w i... (17 Replies)
Thx for all the help so far, I really appreciate it, this is the last task I have to do then I am no longer a trainee ^^, which means I can use whatever utility I want. :O
I need to write a script that does more or less what is shown below.
The Users Name
PID TTY TIME CMD
12345 pts/3... (22 Replies)
I've a simple linux script (made by my friend), which adds users to the system from userlist file. it also creates user home dir and copies certain files to the directory. To be honest, am a newbie in scripting so am unable to fully understand how the script is working. unfortunately,... (30 Replies)
I will include a "requirement" for an issue I am attempting to solve for my boss. Basically, he would like to know if there is a way to prevent users and owner from editing 'write' script in Vi.
- While working in Unix Vi, users would be able to keep all the previous versions... (15 Replies)
Hi All, my script.sh has the below lines, and i need to run the script as root or wam. please tell me if this will work
sudo -t wam /usr/local/wam/stopwam -r ------- this needs run as wam user
/usr/local/web/stopweb -a --- this needs to run as... (18 Replies)
Our moderators/admins/users are doing great job by sharing knowledge with each other, they do correct/appreciate us in posts.
This poll is to encourage emerging users to go in a better direction, kindly do give your thoughts on same.
1- Giving them a reward/appreciation if they are... (31 Replies)
Hello, I find out that there is a way from putty to pass a command to your shell when trying to log in to a server and bypass .profile. Actually you can do this if you open a bash shell. The command to bypass .profile is the following: ssh -t hostname "bash --noprofile" Is there a way to... (32 Replies)