Sysadmin > LinuX > RedHat > HowToViewLastlog

How to view lastlog

Just type lastlog

Don't be confused /var/log/lastlog is a sparse file, which seems to be bigger than is actually is.

# ls -lh lastlog
-rw-r--r--. 1 root root 84M Aug 16 07:58 lastlog
# du -sh lastlog
132K    lastlog