[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Get current user list under Linux?

Paul Hanchett

5/16/2006 4:47:00 PM

How would I programmatically get a list of the currently logged in users
under Linux? How would I do it from Ruby?

Paul

3 Answers

Jeff Schwab

5/16/2006 5:09:00 PM

0

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`

Paul Hanchett

5/16/2006 5:47:00 PM

0

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

Tassilo Horn

5/16/2006 7:17:00 PM

0

Paul Hanchett <paulha@aracnet.com> 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 -