Solaris Advanced User's Guide

Verifying Your Location (who am i)

After logging in to a variety of remote machines, you might need to verify where you are. Type who am i to display the name of the machine you are currently logged in to as well as your current login name.