Lastlog Linux Command Examples
Command: lastlogCommand Usage: reports the most recent login of all users or of a given user
Command Syntax: # lastlog options
Examples Of Lastlog Command:
1. To print only lastlog records older than 5 days
$ lastlog -b 5
2. To print help info of this command
$ lastlog --help
$ lastlog -t 5
4. To display the login details of specified user
$ lastlog -u username
No comments:
Post a Comment