bundles/users: show last five logins on login
This commit is contained in:
parent
e9ee11cd08
commit
fa4ea575b4
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
uptime
|
uptime
|
||||||
last | grep 'still logged in'
|
echo
|
||||||
|
last | head -n5
|
||||||
|
echo
|
||||||
|
|
||||||
export HISTCONTROL=ignoredups
|
export HISTCONTROL=ignoredups
|
||||||
export HISTSIZE=50000
|
export HISTSIZE=50000
|
||||||
|
|
Loading…
Reference in a new issue