Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# lastlog | ||
|
||
> Show the most recent login of all users or of a given user. | ||
- Display the most recent login of all users: | ||
|
||
`lastlog` | ||
|
||
- Display lastlog record of the specified user: | ||
|
||
`lastlog -u {{username}}` | ||
|
||
- Display records before than 7 days: | ||
|
||
`lastlog -b {{7}}` | ||
|
||
- Display records more recent than 3 days: | ||
|
||
`lastlog -t {{3}}` |