Felix T. Gomez, Jr. wrote:
| > Last command is very useful but it would be better if
| > I will know what file does this information resides?
| > 
| > What I am thinking is if the data resides in a file, I
| > could get it by making a perl script that will read a
| > "log file" and parse it line by line just like how i
| > could see it when I type the "last" command.

Oh yes, you don't need the C program either. Fetch the perl User::Utmp
module and work from that. Doco:

  http://search.cpan.org/~mpiotr/User-Utmp-1.8/Utmp.pm

Cheers,
-- 
Cameron Simpson <[EMAIL PROTECTED]> DoD#743
http://www.cskk.ezoshosting.com/cs/

Everything is gone;
Your life's work has been destroyed.
Squeeze trigger (yes/no)?
- Haiku Error Messages 
http://www.salonmagazine.com/21st/chal/1998/02/10chal2.html


To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to