1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-15 22:35:23 +02:00
tldr/pages/linux/lastlog.md
Sebastiaan Speck 7510205497
pages/*: fix small typos (#11831)
* pages/*: fix small typos

* Update ssh-copy-id.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* ansible-inventory: fix typo

* Update pages/linux/zathura.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* gcloud: fix typo

* fdesetup: mark as placeholder

* icalbuddy: use general placeholder

* ip: make it a placeholder

* git-svn: fix typo

* pages/*: fix typos

* kubectl-get: add mnemonics and long options

* kubectl-describe: add mnemonics and long options

* pip-install: use short option

* Update icalbuddy.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-12-27 11:52:49 +05:30

397 B

lastlog

Show the most recent login of all users or of a given user. More information: https://manned.org/lastlog.

  • Display the most recent login of all users:

lastlog

  • Display the lastlog record of the specified user:

lastlog --user {{username}}

  • Display records older than 7 days:

lastlog --before {{7}}

  • Display records more recent than 3 days:

lastlog --time {{3}}