wtmp

Updated: 05/03/2022 by Computer Hope
/var/log/wtmp logo

On the Linux, Solaris, and BSD (Berkeley Software Distribution) operating systems, wtmp is a file containing a history of all logins and logouts. On Linux systems, it is located at /var/log/wtmp.

Various commands access wtmp to report login statistics, including the who and lastb commands.

Tip

The "w" in "wtmp" stands for "who" — as it does in the w command, which displays what users are currently logged in to the system.

Computer abbreviations, Log, Operating system, Operating System terms