AIX Basics Student Guide-15
AIX Basics Student Guide-15
AIX Basics Student Guide-15
Unit Objectives
After completing this unit, you should be able to:
Notes:
Uempty
man Command
zThe man command provides reference information on commands,
subroutines, and files
Notes:
man Example
$ man who
Purpose
Identifies the users currently logged in.
Syntax
who [ -a | -b -d -h -i -I -m -p -q -u -H -T ] [ File ]
who am { i | I}
Description
The who command displays information about all users currently on the
local system. The following information is displayed: login name,
workstation name, date and time of login.
Flags
-m Displays information about the current terminal. The
who -m command is equivalent to the who am i and
who am I commands.
-u or -i Displays the user name, workstation name, login time,
line activity, and process ID of each current user.
Examples
1. To display information about who is using the local system node,
enter:
who
Implementation Specifics
This command is part of Asynchronous Terminal Emulation (ATE)
Files
/etc/utmp Contains user and accounting information.
Notes:
This example shows the man who command. Note that this example has been
condensed to fit on one page.