Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My Macbook's name is 'Suman'enter image description here. But in terminal I have something different. How to solve it ?

share|improve this question
The command to display your computer name within a Terminal window is hostname. From your screen copy it is correct. – daniel Azuelos Jan 1 '14 at 22:04
In the interest of having a good searchable question, let's leave the terminology here intact even though to people familiar with shell and host names, the title here is less precise than we might like. – bmike Jan 1 '14 at 22:05

Unless you've changed it, the default Bash prompt is

computer-name:directory username$

Therefore it's correct.

Suman:~ beautifulmind$

…means your computer is called Suman, you're in your home folder ~ and your account is beautifulmind.

share|improve this answer
How to change the account ? – Suman Jan 1 '14 at 11:04
@Suman See this Apple KB article. – grgarside Jan 1 '14 at 11:10
→ Suman: this is a new question and you should avoid questions within comments. No one will be able to find the relevant answer to your new question by digging in every question comments. – daniel Azuelos Jan 1 '14 at 22:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.