Skip to content

Instantly share code, notes, and snippets.

@haakonstorm
Created March 20, 2020 17:40

Revisions

  1. haakonstorm created this gist Mar 20, 2020.
    1 change: 1 addition & 0 deletions get_mac_identifier.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ioreg -l | awk '/product-name/ { split($0, line, "\""); printf("%s\n", line[4]); }'