Linux Dell Server / Desktop / Laptop Find Out Service Tag Command

I need to find out the service tag of my Dell server or computer. How do I find out my unique five- to seven-digit alphanumeric (letter and number) service tag code without looking at the back of the system or opening the door of bezel? Is there is Linux command to get the Dell service tag from the Terminal?

You need to use the dmidecode command to find out Dell servers or laptops service tag under Linux operating systems. It is a tool for dumping a computer’s DMI (some say SMBIOS) table contents in a human-readable format. This tool can display serial number or dell service tag without looking on the back of the server.

Linux Find Out Service Tag Command

Type the command as follows as root user:
# dmidecode | grep --color -i serial
# 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: Precision M6500                 
	Version: Not Specified
	Serial Number: 12AB69D
	UUID: 44454A4C-3100-109C-1032-XXXXXXXXXX
	Wake-up Type: Power Switch
	SKU Number: Not Specified
	Family:  Precision Workstation

You can use Dell service tag # 12AB69D for downloading drivers or for other support related issues on support portal itself.

How do I get my Dell device’s service tag?

We can also use the following syntax:
$ sudo dmidecode -s system-serial-number
To find out Express Service Code for Dell server or laptop or desktop running Linux run the following bash command:

echo "Service tag for this Dell system is:"
sudo dmidecode -s system-serial-number
echo "Express Service Code for $HOSTNAME is:"
echo $((36#$(sudo dmidecode -s system-serial-number)))
Service tag for this Dell system is:
Express Service Code for nas01.sweet.home is:

Using bash for loop to get Dell service tag on Linux


for d in system-manufacturer system-product-name system-serial-number bios-release-date bios-version 
  echo "${d^} : " $(sudo dmidecode -s $d)

Outputs from CentOS 8 running on my Dell system:

System-manufacturer :  Dell Inc.
System-product-name :  Precision M6700
System-serial-number :  ABCXYZ112
Bios-release-date :  11/30/2018
Bios-version :  A20


You learned about various Linux commands to get the Dell service tag, including Express Service Code from the Terminal or bash. Linux CLI option is useful when our server is located in a remote data center, and we can not read the service tag from chassis. However, Dell stores Service Tag in the BIOS/firmware system and is available with the easy to use dmidecode Linux command-line utility.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 3 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig 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 VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
3 comments… add one
  • Dave Jul 4, 2011 @ 13:41

    Nice, thanks!

  • John Jul 5, 2011 @ 23:53

    omreport chassis info

    Requires Dell Open Manage installed, which you should have anyways for other system administration tasks.

  • neeta@NIT Aug 30, 2020 @ 7:46

    MS-Windows user can run command to view DELL Service Tag and Express Service Code:

    wmic bios get serialnumber
    wmic csproduct get vendor,name,identifyingnumber
    wmic /user:administrator /node:remote-server-host-ip bios get serialnumber

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum