Linux lslogins Command
What is Linux lslogins Command?
In this tutorial we learn how to use lslogins
command in Linux. lslogins
command is lslogins - display information about known users in the system.
lslogins Syntax
lslogins [options] [-s|-u[=UID]] [-g groups] [-l logins] [username]
lslogins Examples
lslogins Command Manual / Help
We can use man
and info
command to see the manual page of lslogins
command. lslogins
command also have --help
option to show list of options.
To open man page for lslogins
command we can use command below. To exit man or info page you can press q
.
man lslogins
To open info page for lslogins
command we can use command below.
info lslogins
To open help page from lslogins
command we can run command below.
lslogins --help
Linux lslogins Command Source Code
You can find lslogins
command source code from the folowing repositories:
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use lslogins
in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.