Skip to content

Instantly share code, notes, and snippets.

@mikemadden42
Created January 29, 2022 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikemadden42/57b7d7a94095bed244c000405341bb9b to your computer and use it in GitHub Desktop.
Save mikemadden42/57b7d7a94095bed244c000405341bb9b to your computer and use it in GitHub Desktop.
macOS system info
#!/bin/zsh
echo "system_profiler SPHardwareDataType:"
system_profiler SPHardwareDataType
echo
echo "hostinfo:"
hostinfo
echo
echo "sw_vers:"
sw_vers
echo
echo "uname -a:"
uname -a
echo
echo "uptime:"
uptime
echo
echo "df -hl:"
df -hl
echo
echo "mount:"
mount
echo
echo "diskutil list:"
diskutil list
echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment