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:
In this example, the system name is barnard.