Created
August 4, 2017 06:42
-
-
Save aduzsardi/c12d96c746572834342075664b3ebe37 to your computer and use it in GitHub Desktop.
Get Mac's system information from the command line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get informations categories | |
system_profiler -listdatatypes | |
# get information about harddrives | |
system_profiler SPStorageDataType | |
# Export to XML | |
system_profiler -xml SPEthernetDataType SPFirewallDataType > ~/Documents/reports/system_profile-EthernetFirewall.xml | |
# get OSX version | |
sw_vers | |
# kernel and build version | |
uname -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment