2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/system_profiler

12 lines
421 B
Plaintext
Raw Normal View History

2017-06-04 21:13:20 +00:00
# system_profiler
2017-06-04 21:14:10 +00:00
# Report system hardware and software configuration (Mac OS X)
2017-06-04 21:13:20 +00:00
# Display a full system profiler report which can be opened by System Profiler.app:
system_profiler -xml > MyReport.spx
# Display a hardware overview (Model, CPU, Memory, Serial, etc):
system_profiler SPHardwareDataType
# Print the system serial number:
system_profiler SPHardwareDataType|grep "Serial Number (system)" |awk '{print $4}'