Finding the name of your computer (Windows, Linux, Mac)

A tutorial to finding the name of your computer.

How do I find my computer name?

For Windows users:

First, open up the Windows menu at the bottom left of the screen and type "cmd" without quotes and hit enter. 
If you have Windows 7, make sure you select the search bar in the Windows menu before typing "cmd".

command prompt

Using the Command Prompt

In the command prompt window, type in "ipconfig /all" without quotes and then hit enter. This will create a large amount of command output text. If you scroll up in command prompt, near the top of the text block you will find a line labeled "host name:" with your computer name next to it.
ipconfig

Another way to do this is to open up the Windows menu, start typing "About your PC" (without quotes), and then hit enter. If you have Windows 7 or  10, you will need to select the search bar in the Windows menu before typing "About your PC". 


about your PC

The window that pops up will show a slew of specifications about your computer, including your computer name at the top of the text. 
host name

For Mac users:

First, open up the Apple menu at the top left of the screen and select "System Preferences" from the menu. Then, click on the icon labeled "Sharing". The window that pops up will list your computer name. 

For Linux users

First, open up your terminal. In the terminal window, type "hostname" without quotes and then hit enter. This will print a single line with your system name in it. 




Keywords:name computer id finding hostname cmd computername   Doc ID:90196
Owner:Diane Y.Group:Rice University
Created:2019-03-06 13:57 CSTUpdated:2020-10-20 08:47 CST
Sites:Rice University
CleanURL:https://kb.rice.edu/computername
Feedback:  0   0