Red Hat / CentOS Linux Command To Find Dell Service Tag

How do I find out my Dell server/deskop/laptop service tag using the command line option under a RHEL / Fedora / Red Hat / CentOS / Scientific Linux operating systems? How do I determine the serial number of a Dell laptop computer using the Fedora Linux operating system?

You need to use the dmidecode command to find out various info including Dell servers service tag for warranty or parts replacement. This command is used to analyse BIOS DMI data. If this command is not install type the following command to install it on a CentOS/RHEL using the yum command or dnf command:

ADVERTISEMENTS

Installing dmidecode to find out Dell service tag

Run it as root user:
# yum -y install dmidecode
Sample outputs:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.net.in
 * epel: epel.mirror.net.in
 * extras: centos.mirror.net.in
 * updates: centos.mirror.net.in
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.x86_64 1:3.0-5.el7 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
========================================================================================
 Package              Arch              Version                   Repository       Size
========================================================================================
Installing:
 dmidecode            x86_64            1:3.0-5.el7               base             88 k
 
Transaction Summary
========================================================================================
Install  1 Package
 
Total download size: 88 k
Installed size: 241 k
Is this ok [y/d/N]: y
Downloading packages:
dmidecode-3.0-5.el7.x86_64.rpm                                   |  88 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:dmidecode-3.0-5.el7.x86_64                                         1/1 
  Verifying  : 1:dmidecode-3.0-5.el7.x86_64                                         1/1 
 
Installed:
  dmidecode.x86_64 1:3.0-5.el7                                                          
 
Complete!

If you are using a Fedora Linux, try dnf command to install dmidecode:
$ sudo dnf install dmidecode
If you are using an Ubuntu/Debian Linux based server try apt command or apt-get command to install dmidecode
$ sudo apt-get install dmidecode

Command To Find Out Dell Service Tag on Linux

Once installed type the following command to find out Dell service tag:
# dmidecode | grep -i serial
OR
# dmidecode -t 1
Sample outputs:

# dmidecode 2.9
SMBIOS 2.6 present.

Handle 0x0100, DMI type 1, 27 bytes
System Information
	Manufacturer: Dell Inc.
	Product Name: PowerEdge T110                 
	Version: Not Specified
	Serial Number: XYZABC
	SKU Number: Not Specified
	Family:  

Here is another outputs:

Fig.01:  Determine the serial number (service) of a Dell computer using the Linux operating system

Fig.01: Determine the serial number (service) of a Dell computer using the Linux operating system

The following command will only display service tag:
# dmidecode -s system-serial-number
Sample outputs:
XYZABC

How Do I Find Out Dell Service Tag Remotely?

You need to ssh into remote Dell server and type the same command:
$ ssh root@your-remote-dell-server-domain-name-here
OR
$ ssh root@202.54.1.1
And type the above command:
# dmidecode -s system-serial-number
OR just pass the dmidecode command line option to ssh itself:
$ ssh root@remote.dell.server.example.com dmidecode -s system-serial-number

Conclusion

You learned how to find Dell service tag using the CLI on your CentOS/RHEL based system. For more info see the dmidecode man page by typing the following man command:
$ man dmidecode

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
5 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.