Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Get current user list under Linux?

Reply
Thread Tools

Get current user list under Linux?

 
 
Paul Hanchett
Guest
Posts: n/a
 
      05-16-2006
How would I programmatically get a list of the currently logged in users
under Linux? How would I do it from Ruby?

Paul


 
Reply With Quote
 
 
 
 
Paul Hanchett
Guest
Posts: n/a
 
      05-16-2006
Jeffrey Schwab wrote:
> Paul Hanchett wrote:
>> How would I programmatically get a list of the currently logged in
>> users under Linux? How would I do it from Ruby?

>
> `who`

Thanks, but I already knew *that* one.

Paul

 
Reply With Quote
 
 
 
 
Tassilo Horn
Guest
Posts: n/a
 
      05-16-2006
Paul Hanchett <> writes:

Hi Paul,

> `who`
>
> Thanks, but I already knew *that* one.


So what's wrong with it?

Bye,
Tassilo
--
"Emacs is not a development tool but a way of life."
- David Kastrup in alt.religion.emacs -
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Personalization: How do I load another user's personalization settings instead of the current user? Electrified Research ASP .Net 3 09-23-2006 05:22 PM
User.IsInRole -> I do not want current user but all users Peter Bons ASP .Net 1 03-31-2006 09:31 AM
HttpContext.Current.User.Identity.Name AND Context.User.Identity.Name; nalbayo ASP .Net 2 11-11-2005 11:12 PM
Re: How to get user's full name using HttpContext.Current.User Steve C. Orr [MVP, MCSD] ASP .Net 0 07-23-2004 10:14 PM
Re: How to get user's full name using HttpContext.Current.User Mike Newton ASP .Net 0 07-23-2004 03:56 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57