MacOS

From Dave-Wiki
Revision as of 02:13, 15 February 2024 by Dave (talk | contribs) (Created page with "===Get Serial Number=== system_profiler SPHardwareDataType | grep Serial ===Get Hostname=== scutil --get HostName ===Set Hostname=== sudo scutil --set HostName <new host name>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Get Serial Number

 system_profiler SPHardwareDataType | grep Serial

Get Hostname

 scutil --get HostName

Set Hostname

 sudo scutil --set HostName <new host name>