

As seen in Figure 3, the computer name is now JumpCloud1.

All you need to do is to run and execute the text below. However, you can use the -get flag to check your work. Figure 2Īfter renaming the computer, the terminal will not display any message or notification to confirm the success of the change. Note that we added sudo to the command to elevate admin privileges.
#Media renamer for mac password
You may be required to provide your password when you run the command therefore, input the password accordingly. Sudo scutil -set ComputerName YourComputerNameįor example, to rename our computer name from JumpCloud to JumpCloud1, we only need to execute the following command via the terminal (refer to Figure 2): To rename the computer name, enter and execute the following scutil command: You can do this by searching “terminal” in the Spotlight search option of your computer or by navigating through Applications > Utilities > Terminal.
#Media renamer for mac how to
In this section, we will explore how to use the scutil command to change a Mac’s computer name, hostname, and bonjour (local host) name. You can customize how your MacBook appears with the use of the scutil command via the terminal. Figure 1 How to Rename Computer Name, Hostname, and Bonjour Name via the Terminal You can see your Mac’s local hostname beneath the computer name by navigating through System Preferences > Sharing.įor instance, in Figure 1, the computer name is JumpCloud Platform and the local hostname is jumpcloud-platform.local. It allows the computers on your local network to access and connect with your computer. Your Mac’s bonjour name is also known as its local hostname. It is used to identify the device in various network communications, and can be used when connecting to it via SSH (Secure Socket Shell) for remote login. Similarly, a hostname is an identifier assigned to a computer in a computer network. What Is Computer Name, Hostname, and Bonjour Hostname?Īs the name implies, a computer name is a user-friendly label used to identify your computer. In this article, we will explore how to rename computer name, hostname, and local hostname on macOS. Unique names - customized to your preferred naming conventions - make collaborative work easier, such as sending and sharing files between different computers. You likely manage more than one computer, and discretely naming each device will allow you to identify and distinguish between them. Whether you work for a small, mid-size, or large enterprise, knowing how to change a Mac’s name is important. The first article in the series explored how to enable SSH to access a remote Mac’s Shell securely. This article continues our series on the common commands every Mac admin must know.
