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 other systems.
The command whoami helps you determine your login name.
whoami | Displays the login name being used, similar to the following:
denise |
The command uname helps you determine your system's name.
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.
host zeus | Determines if your system has routing information for system zeus.
If your system responds with a message similar to: zeus is 192.9.200.4 (300,11,310,4) your system has the proper information and you can send a message to system zeus . The address 192.9.200.4 is used by the system to route the mail. If your system does not have information about the requested system, it responds with the following message: zeus: unknown host If you receive an unknown host message, the requested system name:
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. |
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.
The whoami command
The uname command
The host command
The finger command
The fingerd daemon