寻找终端命令行,finder>实用工具>终端
偏好设置>共享>开启ssh访问,其它机器可以ssh访问macOS
命令行命令
system_profiler -listDataTypes
system_profiler SPHardwareDataType
sysctl machdep.cpu.brand_string
sysctl kern.version
uname -a
diskutil list
sw_vers
systemstats
iostat 1
https://ss64.com/osx/?spm=a2c4e.10696291.0.0.17f319a4b16fRH
appledeMac-mini:~ root# sw_vers ProductName: Mac OS X ProductVersion: 10.14.6 BuildVersion: 18G103 appledeMac-mini:~ root# systemstats appledeMac-mini:~ root# system_profiler -listDataTypes Available Datatypes: SPParallelATADataType SPUniversalAccessDataType SPSecureElementDataType SPApplicationsDataType SPAudioDataType SPBluetoothDataType SPCameraDataType SPCardReaderDataType SPComponentDataType SPiBridgeDataType SPDeveloperToolsDataType SPDiagnosticsDataType SPDisabledSoftwareDataType SPDiscBurningDataType
原文:https://www.cnblogs.com/createyuan/p/12178176.html