Change Computer/Host Name Mac OsX
One of the most common problems that we come across is when the programmer tries to setup the Mac OS X - name/hostname for the computer, since it takes up most space in the Terminal bash prompt and since the default ones are not so fancy, when accessed over the network.
Click the “Apple” menu in the top-left of the screen. Click on “System Preferences.”
Click the “Sharing” icon. At the top of the resulting screen, you will see your current computer name. To change it, click into the field, delete the existing name and enter your desired computer name.
Click on the “Edit” button underneath the computer name field to change the local hostname. The hostname can be used to access your computer over the network as an alternative to using a numeric IP address and is particularly relevant if you are using a network with a mix of Apple Macs and Microsoft Windows PCs.
Close the window to save your changes.
Any questions on this, please feel free to ask. We’re here to help…