wtmp

Updated: 12/06/2024 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, Login, Operating system, Operating System terms, System, Terminal, Unix