Skip to content

A Rust reimplementation of the util-linux last command.

License

Notifications You must be signed in to change notification settings

MarcelRobitaille/last-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

last.rs

A Rust reimplementation of the util-linux last command.

This is NOT intended as a replacement for last.c. It is mostly a library to provide last-like output to other Rust project. It is also an example of how to use utmp-rs.

NOT yet feature compatible with last.c. Right now, the output is kind of like last <username>, and no options or flags are supported.

Acknowledgements

Thank you to utmp-rs for doing the hard work of parsing /var/log/wtmp and making my life easy.

About

A Rust reimplementation of the util-linux last command.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages