Fixing: Terminal-IP address instead of computer name in Mac

Well. Today I have come across an annoying buy-in the terminal that will pick up the reverse IP-lookup as a host-Name rather than actual host-Name of PC. Although it was a small thing – it took me a while before realizing what was going on.

To avoid you from all the hassle, I have actually decided to write this article up:

So if you are getting something like this:

Read Also: Naa Songs

192-168-1-111:~/desktop/Project Web development/project-files

And you wanted something like this:

Rohit’s MacBook Air:intro-to-node rohitbhurtel$

You came to the right place. All you have to do to fix this annoying problem is: Just copy the code below and paste it to your Terminal:

Ta-da it should be fixed already by now. Thank you for visiting.

Read More: Naa Songs

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button