Arguments specify names of users or ttys of interest.
The names of ttys can be given fully or abbreviated. For example, last 0 is the same as last tty0 . If multiple arguments are given, the information that applies to any of the arguments is printed. For example, last root console lists all of root 's sessions as well as all sessions on the console terminal. The last command prints the sessions of the specified users and ttys, most recent first, indicating when the session began, the duration of the session, and the tty on which the session took place.