How to find computer serial numbers

If you need to find the serial numbers for machine HW

Windows
wmic bios get serialnumber
wmic csproduct get name, identifyingnumber

Ubuntu
#sudo dmidecode -s system-serial-number

Linux(Redhat⁄CentOS⁄Fedora⁄SuSe)
#sudo dmidecode -t 1 | egrep -i “serial|product”

HP-UX
#machinfo

Solaris 10 (SPARC or x86)
#sudo ⁄usr⁄sbin⁄prtdiag -v | egrep “Chassis Serial Number”

Posted in HP-UX, Linux, Windows