Linux lastb Command

In this tutorial we learn how to use lastb commmand in Linux. lastb command is last, lastb - show a listing of last logged in users

What is Linux lastb Command?

In this tutorial we learn how to use lastb command in Linux. lastb command is last, lastb - show a listing of last logged in users

lastb Syntax

       lastb [options] [username...] [tty...]

lastb Examples

lastb Command Manual / Help

We can use man and info command to see the manual page of lastb command.

lastb command also have --help option to show list of options.

To open man page for lastb command we can use command below. To exit man or info page you can press q.

man lastb

To open info page for lastb command we can use command below.

info lastb

To open help page from lastb command we can run command below.

lastb --help

Linux lastb Command Source Code

You can find lastb command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use lastb in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.