Thursday, July 24, 2014

How to find Serial and Product Number from Command Line on Windows / Linux / Unix?

To get Serial and Product Number from command on Windows.

Go to > Start > Run type > cmd >

wmic bios get serialnumber
 

Example: wmic csproduct get name, identifyingnumber

To get Serial from command in Ubuntu

#sudo dmidecode -s system-serial-number

To get Serial and Product Number from command in Linux (Redhat/CentOS/Fedora/SuSe)

#sudo dmidecode -t 1 | egrep -i "serial|product"

To get Serial from command in HP-UX:

#sudo echo "selclass qualifier system;info;wait;infolog" | /usr/sbin/cstm | grep -i "System serial"

To get Serial from command in Solaris 10 (SPARC or x86)

#sudo /usr/sbin/prtdiag -v | egrep "Chassis Serial Number"

1 comment :

  1. My coder is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the expenses. But he's trying none the less. I've been using WordPress on several websites for about a year and am concerned about switching to another platform. I have heard fantastic things about blogengine.net. Is there a way I can import all my Wordpress posts into it? Any help would be really appreciated! Navigate to this site: Here’s How To Password Protect Folder Like A Professional

    ReplyDelete