<s>
lastlog	B-Device
is	O
a	O
program	O
available	O
on	O
most	O
Linux	B-Application
distributions	I-Application
.	O
</s>
<s>
It	O
formats	O
and	O
prints	O
the	O
contents	O
of	O
the	O
last	O
login	O
log	O
file	O
,	O
/var/log/lastlog	O
(	O
which	O
is	O
a	O
usually	O
a	O
very	O
sparse	O
file	O
)	O
,	O
including	O
the	O
login	O
name	O
,	O
port	O
,	O
and	O
last	O
login	O
date	O
and	O
time	O
.	O
</s>
<s>
It	O
is	O
similar	O
in	O
functionality	O
to	O
the	O
BSD	B-Operating_System
program	O
last	O
,	O
also	O
included	O
in	O
Linux	B-Application
distributions	I-Application
;	O
however	O
,	O
last	O
parses	O
a	O
different	O
binary	O
database	O
file	O
(	O
/var/log/wtmp	B-Application
and	O
/var/log/btmp	O
)	O
.	O
</s>
<s>
Lastlog	B-Device
prints	O
its	O
output	O
in	O
column	O
format	O
with	O
login-name	O
,	O
port	O
,	O
and	O
last-login-time	O
of	O
each	O
and	O
every	O
user	O
on	O
the	O
system	O
mentioned	O
in	O
that	O
order	O
.	O
</s>
<s>
The	O
users	O
are	O
sorted	O
by	O
default	O
according	O
to	O
the	O
order	O
in	O
/etc/passwd	O
However	O
,	O
it	O
can	O
also	O
be	O
used	O
to	O
modify	O
the	O
records	O
kept	O
in	O
/var/log/lastlog	O
.	O
</s>
