Fix line length of system_profiler
parent
e1324e278f
commit
dbae4e99c4
@ -1,11 +1,12 @@
|
||||
# system_profiler
|
||||
# Report system hardware and software configuration (Mac OS X)
|
||||
|
||||
# Display a full system profiler report which can be opened by System Profiler.app:
|
||||
# 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):
|
||||
# Display an overview of system hardware (Model, CPU, Memory, Serial, etc).
|
||||
system_profiler SPHardwareDataType
|
||||
|
||||
# Print the system serial number:
|
||||
# Print the system's serial number.
|
||||
system_profiler SPHardwareDataType|grep "Serial Number (system)" |awk '{print $4}'
|
||||
|
Loading…
Reference in New Issue