CLI for serial number or tag for BIOS

Carl T. Miller carl at carltm.com
Thu Aug 19 10:14:10 UTC 2010


Priyadarshini wrote:
> what file or command can be used to get information that can represent
> unique ID for BIOS installed, it could be serial number or some tag or
> build
> id.
>
> I used "/usr/sbin/dmidecode | egrep -i 'BIOS Information' -A 20" command,
> it
> shows some information about BIOS but not any information that can be used
> as ID.

Instead of "BIOS Information" grep the "System Information".
That serial number will likely be unique.  For Dell systems
it has the service tag number.

If you just want the number, run: dmidecode -s system-serial-number

c





More information about the redhat-list mailing list