Skip to content

Commit

Permalink
lastlog.md: add page (#1817)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsxu authored and agnivade committed Dec 19, 2017
1 parent 905b1a6 commit 5748e7c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pages/linux/lastlog.md
@@ -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}}`

0 comments on commit 5748e7c

Please sign in to comment.