I am doing a network service topology diagram. I need to identify the newly added computer's operating system so that I could run different scripts based on OS. How could I identify the newly added computer's operating system?

  • How much access do you have to these newly-joined nodes? Are they built to certain standards? The more information you provide, the better answers you're going to get. Nov 29, 2018 at 10:39

2 Answers 2


Nmap does it: Nmap os detection

nmap -O

-O (Enable OS detection)

Enables OS detection, as discussed above. Alternatively, you can use -A to enable OS detection along with other things.


This will give you OS info for NIX:

cat /etc/*rel*

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .