Nguyễn Hồ Ngọc Anh
Member
What does the lastlog command do?
Answer
lastlog formats and prints the contents of the last login log /var/log/lastlog file . The login-name, port, and last login time will be printed. The default (no flags) causes lastlog entries to be printed, sorted by the numerical UID. It prints a
one-line help message and exit
.
Answer
lastlog formats and prints the contents of the last login log /var/log/lastlog file . The login-name, port, and last login time will be printed. The default (no flags) causes lastlog entries to be printed, sorted by the numerical UID. It prints a
one-line help message and exit
.