Last: Unterschied zwischen den Versionen
(→TMP) |
(→Syntax) |
||
Zeile 31: | Zeile 31: | ||
== Syntax == | == Syntax == | ||
<syntaxhighlight lang="bash" highlight="1" line> | <syntaxhighlight lang="bash" highlight="1,2" line> | ||
last | |||
wtmpdb COMMAND [option...] | wtmpdb COMMAND [option...] | ||
</syntaxhighlight> | </syntaxhighlight> |
Aktuelle Version vom 22. Juni 2024, 12:17 Uhr
last - Kurzbeschreibung
wtmpdb - display login, logout and reboot information
Beschreibung[Bearbeiten | Quelltext bearbeiten]
wtmpdb displays the content of the wtmp database and allows to create reboot and shutdown entries.
This command is Y2038 safe and uses sqlite3 to store the information.
Installation[Bearbeiten | Quelltext bearbeiten]
last
Der Befehl 'last' wurde nicht gefunden, kann aber installiert werden mit:
apt install util-linux
apt install wtmpdb
apt install util-linux
util-linux ist schon die neueste Version (2.40.1-8).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
apt install wtmpdb
Installing:
wtmpdb
Installing dependencies:
libpam-wtmpdb libwtmpdb0
Syntax[Bearbeiten | Quelltext bearbeiten]
last
wtmpdb COMMAND [option...]