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
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: 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 https://dell.com/ 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: T2Y9LA7 Express Service Code for nas01.sweet.home is: 35250176053
Using bash for loop to get Dell service tag on Linux
Type:
for d in system-manufacturer system-product-name system-serial-number bios-release-date bios-version do echo "${d^} : " $(sudo dmidecode -s $d) done
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
Conclusion
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.
🐧 3 comments so far... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
Nice, thanks!
omreport chassis info
Requires Dell Open Manage installed, which you should have anyways for other system administration tasks.
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