Results 1 to 3 of 3
Hi!
I have been searching for a Linux command similar to "who":
I need to ask my server to return a list of all users currently connected to a specified ...
- 05-11-2008 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 2
Server Administration for Beginners
Hi!
I have been searching for a Linux command similar to "who":
I need to ask my server to return a list of all users currently connected to a specified UNIX server (not necessarily the one I'm working on, as with the who command).
Can you help with suggstions?
Thanks a lot.
- 05-11-2008 #2
- 05-11-2008 #3Linux Engineer
- Join Date
- Apr 2006
- Location
- Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
- Posts
- 1,117
Hi.
Users who are connected are logged in, so running:
to look for the keyword logged in the man page descriptions produces:Code:man -k logged
Your system may not have all of these, and not all of the hits will be on target, but learning how to use man -- read man man -- will save you time and trouble. It is one of the most important commands to learn to make one self-sufficient.Code:% man -k logged last (1) - show listing of last logged in users lastb (1) - show listing of last logged in users users (1) - print the user names of users currently logged in to the current host w (1) - Show who is logged on and what they are doing. w.procps (1) - Show who is logged on and what they are doing. who (1)
With more work, running a Google search with:
would (eventually) lead you to: Linux Newbie Administrator Guide - 6.4 System info andman connected linux
Linux Newbie Administrator Guide - 6.3 Help commands the main index of which may be very useful ... cheers, drlWelcome - get the most out of the forum by reading forum basics and guidelines: click here.
90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
We look forward to helping you with the challenge of the other 10%.
( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )


Reply With Quote