O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

who

Displays names of users

who [options]

who am i

The who utility displays the names of users currently logged in, their terminal device numbers, the times they logged in, and, if applicable, the corresponding remote hostname or X display.

Arguments

When given two arguments (traditionally, am i), who displays information about the user giving the command. If applicable, the user's login name is preceded by the hostname of the system running who (as in kudos!alex).

Options

--count

-q quick Lists the user names only, followed by the number of users logged in on the system.

--heading

-H Displays a header.

--idle

-i idle Includes each user's idle time in the display. If there has been input at the user's terminal in the past minute, who puts ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required