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

See all GNU/Linux related FAQ
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

Linux Find Out Dell Service Tag Command
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.

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

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. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.