Skip to content

Instantly share code, notes, and snippets.

@patrickgill
Last active January 5, 2020 20:52
Show Gist options
  • Save patrickgill/2fce2ab141d31acd748de7ef11e0c983 to your computer and use it in GitHub Desktop.
Save patrickgill/2fce2ab141d31acd748de7ef11e0c983 to your computer and use it in GitHub Desktop.
#!/bin/bash
#About the SMC Firmware Updates (outdated), https://support.apple.com/en-au/HT202040
sysctl hw.model
system_profiler SPHardwareDataType | grep -i "Version" | awk -F ':' '{print $1 $2}'
/usr/libexec/firmwarecheckers/eficheck/eficheck --integrity-check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment