lastb Command Examples

List last logged in users. More information: https://manned.org/lastb.

sudo lastb

sudo lastb --since {{YYYY-MM-DD}}

sudo lastb --until {{YYYY-MM-DD}}

sudo lastb --present {{hh:mm}}

sudo lastb --dns