How To Figure Out Your PC’s Host Name From the Command Prompt

Posted by The Geek on How to geek See other posts from How to geek or by The Geek
Published on Thu, 29 Apr 2010 22:00:31 +0000 Indexed on 2010/04/29 22:17 UTC
Read the original article Hit count: 239

Filed under:
|
|
|

If you’re doing any work with networking, you probably need to know the name of your computer. Rather than diving into Control Panel, there’s a really simple way to do this from the command prompt.

Note: If you haven’t already, be sure to read our complete guide to networking Windows 7 with XP and Vista.

To see the hostname… all you have to do is type hostname at the command prompt. Go figure, eh?

image

The same thing works in Linux or OS X, though you can see that most of the time the hostname is part of the prompt anyway. Note: you can also change the hostname by simply typing “hostname <newhostname>”.

sshot-2010-04-27-00-06-03

Of course, the easiest way to see your computer name in Windows is to just hit the Win+Break key combination, which will pop up the System pane from Control Panel.

image 

If you want to change it instead, you can always change your computer name easily through Control Panel.


Got an opinion to share? Click here to join the discussion

Similar Articles Productive Geek Tips
Latest Software Reviews Tinyhacker Random Tips


© How to geek or respective owner

Related posts about linux

Related posts about Vista