last Command Examples

View the last logged in users. More information: https://manned.org/last.

last

last -n {{login_count}}

last -F -a

last {{username}} -i

last reboot

last shutdown