How to find serial number of computer in Linux using dmidecode

To find the serial number of the computer, open a terminal window and install dmidecode using apt-get as below:
$ sudo apt-get install dmidecode <enter>

Thereafter, enter the following command to get the serial number:
$ sudo dmidecode | grep -i serial <enter>

Now you will see the serial number of the computer. The serial number is also called the service tag.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s