Question: how to change device name of macbook pro?
Answer: Open System Preferences.
Click on Sharing.
Click on the field Computer Name: at the top.
Highlight the current name and enter a new one.
Press enter or click anywhere in the window outside of the text field to set the new name.