[ Previous |
AIX Version 4.3 System User's Guide: Communications and Networks
Communications System Commands
This section describes different
commands available for displaying information that identifies users
on your system, the system you are using, and users logged in on
Displaying Your Login Name
The command whoami helps you
determine your login name.
|| Displays the login name being used, similar to the
In this example, the login name is
Displaying Your System Name
The command uname helps
you determine your system's name.
|| The uname command used with the -n flag
displays the name of your system if you are on a network.
Information similar to the following is displayed:
In this example, the system name is
To find the node name of another
system, you must request that a user on that system enter the
uname -n command.
Determining Whether Your System Has
To access another system on
the network, your local system must have access to information that
defines the other system. To determine if your local system has
this information, enter the host command with the name of the
other system, as in the following example.
|| Determines if your system has routing information for
If your system responds with a
message similar to:
zeus is 188.8.131.52 (300,11,310,4)
your system has the proper
information and you can send a message to system zeus.
The address 184.108.40.206 is used by the system to route
If your system does not have
information about the requested system, it responds with the
zeus: unknown host
If you receive an unknown
host message, the requested system name:
- May not be correct (check the
spelling in the address).
- May be on your network, but not
defined to your system (contact the person responsible for setting
up your network).
- May be on another network and require
more detailed addressing.
- May not be connected to your
You may also receive the unknown
host message if your network is not operating and your local system
depends on a remote system to supply network addresses.
Displaying Information about
The command finger or
f displays information about the current users on a specified
host. This information can include the user's login name, full name,
and terminal name, as well as the date and time of login.
|| Displays the following information about all users logged
in to host alcatraz:
brown Console Mar 15 13:19
smith pts0 Mar 15 13:01
jones tty0 Mar 15 13:01
User brown is logged in
at the console, user smith is logged in from a pseudo
teletype line pts0, and user jones is logged in from a
|finger brown or
||Displays the following information about the user
Login name: brown
In real life: Marta Brown
Directory:/home/brown Shell: /bin/ksh
On since May 8 07:13:49 on console
The whoami command
The host command
[ Previous |