Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

After installing the OS you get an initial/default computer name, i.e. for some Windows computers is something like "WIN-SJ32FF4". Does it always start with "WIN-"? What would it be for Linux? Different releases?

Emphasis: I am looking for a list in order not to go through all possible os versions and check it manually.

share|improve this question

closed as not constructive by Karan, Brad Patton, 8088, Scott, Ƭᴇcʜιᴇ007 May 11 '13 at 1:28

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

Most operating systems, including Windows, Linux, Mac support command hostname, which prints current machine name. You would need to open command prompt (cmd on Windows, xterm or terminal on other systems) and then type hostname to see it.

Speaking of defaults, there are basically none. Every OS, and every version of it may make different preferences about default computer name, so you cannot really predict it.

Also, default computer name maybe provided by DHCP server, and this is really not predictable.

share|improve this answer
    
This is exactly why I am looking for a list of these names - I know how to see the computer name but I don't want to go through all possible os versions ... –  AYBABTU May 7 '13 at 8:59
    
DHCP server may provide default computer name, so all bets are off –  mvp May 7 '13 at 9:00
    
But I only have Windows computers in the network - I want all the names –  AYBABTU May 7 '13 at 9:13
1  
All the names is a problem. Try installing windows a dozen times. Half the time on the same hardware, half the time on a second set of hardware. If you do it often enough you might be able to predict the 'random' part of the name. In other cases it is easier, e.g. slackware asks for a name during installation. If you provide none it will use 'darkstar'. –  Hennes May 7 '13 at 9:36
    
well, on my network, Linux computer may choose something else - simply because I have configured my DHCP server to offer certain names to the hosts by their mac address. Linux respects that offer, Windows may not. Long story short, you cannot predict it with 100% certainty –  mvp May 7 '13 at 10:01

Not the answer you're looking for? Browse other questions tagged or ask your own question.