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*

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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