mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
lastb: add page (#2645)
This commit is contained in:
parent
d241ddf85c
commit
2a11b29c68
1 changed files with 23 additions and 0 deletions
23
pages/linux/lastb.md
Normal file
23
pages/linux/lastb.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# lastb
|
||||
|
||||
> Show a listing of last logged in users.
|
||||
|
||||
- Show a list of all last logged in users:
|
||||
|
||||
`sudo lastb`
|
||||
|
||||
- Show a list of all last logged in users since a given time:
|
||||
|
||||
`sudo lastb --since {{YYYY-MM-DD}}`
|
||||
|
||||
- Show a list of all last logged in users until a given time:
|
||||
|
||||
`sudo lastb --until {{YYYY-MM-DD}}`
|
||||
|
||||
- Show a list of all logged in users at a specific time:
|
||||
|
||||
`sudo lastb --present {{hh:mm}}`
|
||||
|
||||
- Show a list of all last logged in users and translate the IP into a hostname:
|
||||
|
||||
`sudo lastb --dns`
|
Loading…
Add table
Reference in a new issue