Windows 7
2. The name is to the right of Computer name:
Windows 8
Mac OS X
2. Select Sharing. The name is in the Computer name field
Linux
Open a terminal window and enter the hostname command