Last: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
(→Syntax) |
||
(12 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
'''last''' - Kurzbeschreibung | '''last''' - Kurzbeschreibung | ||
wtmpdb - display login, logout and reboot information | |||
== Beschreibung == | == Beschreibung == | ||
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 == | == Installation == | ||
<syntaxhighlight lang="bash" highlight="1, | <syntaxhighlight lang="bash" highlight="1,6,11,23" line> | ||
last | |||
Der Befehl 'last' wurde nicht gefunden, kann aber installiert werden mit: | Der Befehl 'last' wurde nicht gefunden, kann aber installiert werden mit: | ||
apt install util-linux | apt install util-linux | ||
apt install wtmpdb | apt install wtmpdb | ||
apt install util-linux | |||
util-linux ist schon die neueste Version (2.40.1-8). | util-linux ist schon die neueste Version (2.40.1-8). | ||
Summary: | Summary: | ||
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0 | Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0 | ||
apt install wtmpdb | |||
Installing: | Installing: | ||
wtmpdb | wtmpdb | ||
Installing dependencies: | Installing dependencies: | ||
libpam-wtmpdb libwtmpdb0 | |||
</syntaxhighlight> | |||
== Syntax == | == Syntax == | ||
<syntaxhighlight lang="bash" highlight="1" line> | <syntaxhighlight lang="bash" highlight="1,2" line> | ||
last | |||
wtmpdb COMMAND [option...] | |||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Optionen === | === Optionen === | ||
Zeile 80: | Zeile 39: | ||
=== Umgebungsvariablen === | === Umgebungsvariablen === | ||
=== Exit-Status === | === Exit-Status === | ||
== Anwendung == | == Anwendung == | ||
=== Fehlerbehebung === | === Fehlerbehebung === | ||
Zeile 99: | Zeile 59: | ||
[[Kategorie:Linux/Befehl]] | [[Kategorie:Linux/Befehl]] | ||
[[Kategorie:Linux/Benutzer]] | [[Kategorie:Linux/Benutzer]] | ||
[[Kategorie:Util-linux]] |
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...]