Set Mac Hostname
July 30, 2023 —
Gregg Szumowski
To set the host name of your Mac (in my case macbook-pro) in the command prompt, type the following command:
$ sudo scutil --set HostName "macbook-pro"
$ sudo scutil --set LocalHostName "macbook-pro"
Reset Mac Launchpad
July 29, 2023 —
Gregg Szumowski
To reset the Mac LaunchPad to default enter the following:
rm ~/Library/Application\ Support/Dock/*.db ; killall Dock
This will however put all of the Apple apps on the first page and all of your remaining apps will be sorted alphabetically on the remaining pages.