1
ewconfig/scripts/get-mac-serial
2024-12-22 12:05:58 -05:00

5 lines
96 B
Bash
Executable File

#! /bin/bash
set -e
ioreg -l | grep IOPlatformSerialNumber | grep -oE '"([^"]+)"$' | tr -d '"'