Displaying your system name (uname command)

To display the name of your system if you are on a network, use the uname command with the -n flag. Your system name identifies your system to the network; it is not the same as your login ID.

For example, at the prompt, type the following:
uname -n
The system displays information similar to the following:
barnard
In this example, the system name is barnard.

See the uname command in the Commands Reference, Volume 5 book for the complete syntax.