Changing the Computer Name of your Mac is a great way to not only personalize it, but more importantly to easily locate it within a network when multiple other Macs are present.
While working on a series of post about Find My iPhone, I realized that my iMac didn’t have a specific Computer Name attached to it. When in Find My iPhone, it would just show up as Unknown. I wasn’t sure how that happened, but I knew I wanted to have a proper name for it, just so I could recognize it when looking for it on the local network, or when sharing files and documents with it over AirDrop.
The steps to set or change a Mac’s name are quick and easy, but I figured that if you already know how to do it, maybe this post will be a reminder for you to check that your Mac has indeed been give a name that makes sense to you. If not, I’ll show you how to do just that…
Change the name of your Mac in System Preferences
These steps will work to change your Mac device name, no matter what Mac you are using (iMac, MacBook, MacBook Pro, Mac mini, etc).
1) In the Menu bar, go to > System Preferences…
2) Click on Sharing.
3) In the Computer Name box, type in the name you want to use for your computer.
4) Close the window, and you’re done.
Rename your Mac with Terminal
For those that are comfortable with the command line, you may use Terminal to set a different name for your Mac.
1) Open the Terminal app on your Mac.
2) Type in the following command, making sure to replace YourNewComputerName by the name you want to set.
sudo scutil --set ComputerName YourNewComputerName
3) Press the Enter key.
4) Reboot your Mac.
As always, feel free to ask if you have any question.
Related article: How to rename your iPhone, iPad or iPod touch