Find Dell Service Tag from Linux, ESX console

Try this first:


# dmidecode -s system-serial-number

The “-s” option didn’t work on the Kernel 2.4-based ESX service console, but this should:


# dmidecode | grep --extended-regexp Serial[[:space:]]Number:[[:space:]]*[A-Z0-9]{7}$ | uniq

Credit to Noah@Noah.org