Log Management

last

English

Overview

A command that shows login history.

Details

A command that reads the wtmp file to display a history of past logins and logouts. Pointing it at a specific file, as in "last -f /var/log/wtmp.1," lets you check older, rotated logs, and the related lastb command shows only failed login attempts.

More Linux terms