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

A tutorial to finding the name of your computer.

Windows

Open up the Windows menu at the bottom left of the screen and enter cmd. 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, enter:
 ipconfig /all
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.

ip configuration

Another way to do this is to open up the Windows menu, start typing About your PC. 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

Mac

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

Linux 

Open up your terminal and in the terminal window, enter hostname. 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 14:57 CDTUpdated:2021-07-12 08:57 CDT
Sites:Rice University
CleanURL:https://kb.rice.edu/computername
Feedback:  0   0