Article Title: linuxlastb command details. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Function Description: lists information about users who failed to log on to the system.
Syntax: lastb [-adRx] [-f <Record File> ] [-N <Display columns> ] [Account name...] [terminal number...]
Note: Execute the lastb command separately. It will read the file named btmp in the/var/log directory and put the file content
All user names that have failed to log on are displayed.
Parameters:
-A displays the host name or IP address from which to log on to the system in the last row.
-D. Convert the IP address to the host name.
-F <Record File> Specifies the record file.
-N <Display columns> Or- <Display columns> Set the number of columns displayed in the list.
-R does not display the host name or IP address used to log on to the system.
-X displays information such as system shutdown, reboot, and change of execution level.