change name in mac os terminal
If you go to the &quot;Sharing&quot; system preference pane you will see a field at the top that allows you to change the computer name. Click the lock at bottom left of the window and when prompted enter your password and you will be able to edit the field.