Last active
January 30, 2020 02:48
-
-
Save jyhsu2000/5608eb5cd3af2504794f1a96915035f0 to your computer and use it in GitHub Desktop.
Find inactive users
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
lastlog -b 90 | tail -n+2 | grep -v 'Never log' | |
lastlog -b 90 | tail -n+2 | grep -v '從未登入過' | |
lastlog -b 90 | tail -n+2 | grep -v '\*\*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment